Guide

Build and Monetise APIs in 99 seconds

Monetizing an API is a good way of generating revenue quickly. Ask Nijiko! Sometimes the easiest services are the ones that generate the most traffic and traction. At Mashape, we give everyone a chance of quickly monetizing their API without having to worry about any technical aspects. Creating an API on the fly with BlockSpring We’re super happy to see more people building tools to simplify the access to building APIs, one of the services that was featured on HackerNews recently is BlockSpring’s API builder. At the moment they only support three languages (Python, Ruby and R) but that’s plenty enough for...

Documenting and Publishing an API on Mashape

Hey Mashapers, We just launched our new version of Mashape (internally, we called it “Mashape 5″) not too long ago. In this new version, we’ve redesigned certain flows on the site which may be different from the previous version (“Mashape 4″). Specifically, we’ve revamped the API documentation design and changed it to a new 3-column layout. To help you guys out, we’ve written up a guide on how to document and publish an API on Mashape. API providers, what are you waiting for? Documenting and publishing your API is just 3 easy steps: Filling in the basic information to list your...

Introducing API Glossary by Mashape

  When it comes to APIs, there’s a lot of jargon out there. The meaning of certain terms isn’t always obvious, and API providers sometimes use different ones to refer to the same thing. That’s why we created an API glossary. It contains the terminology we use on our site and in our documentation, as well as related words and common acronyms. If you’re just starting out with APIs, you can get the foundational knowledge you need to dive right into API use, design, and development. If you need to explain APIs to a non-technical, instead of mumbling something...

Using Unirest (Java) for your Android projects

This post will show you how to get Unirest-java running on your Android projects.  Unirest is a lightweight HTTP client library with port available in many languages. This is a follow-up to “How to install Unirest using the Maven assembly plugin”.  The steps are similar, with the addition of a Maven (shader) plugin that relocates some packages in order to work around dependency errors when using the uber jar in an Android project. (In case you’re interested, the error you’ll get is ”java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE”). Let’s start: 1.  Follow Steps 1 and 2 from the Unirest-java/Maven tutorial.  Once you’re done with those 2...

Installing unirest-java with the Maven Assembly Plugin

Managing dependencies for your Java applications is difficult, unless you have Maven!  Maven is an Apache build manager for Java projects.  In this post, we will use a Maven plugin (Maven Assembly) to pull all the unirest-java dependencies in one bundle/jar file. Let’s get started (the steps below assume you already have Java and Git installed): Update: If you’re building for Android, please refer to this post. 1.  Download/Install Maven To check if you already have Maven in your machine, run "mvn -version" in your Terminal.  OS X prior to Maverick already comes with Maven.  If you don’t have...

30+ ways to make REST calls in Node.js, PHP, Python, Rails, Obj-C, .NET, and Java / Android

Here’s a list of resources on how to make REST calls in different languages.  (We also have this list of 40+ tutorials on how to create an API in different languages). If you dabble with one or more of these languages in your different projects, we highly recommend that you check out Unirest.io, an open source lightweight HTTP client library.  It’s goal is to provide a consistent way for developers to make HTTP calls across different languages (node.js, Ruby, PHP, Java, Python, Objective-C, .NET) If you have suggested additions to the links below, please tweet to @mashape and we’ll...

How to integrate Mashape APIs with Parse as Cloud Modules @ParseIt

Parse is a backend-as-a-service (BAAS) platform that lets you focus on building your applications without worrying about server and infrastructure maintenance and complexities.  If you haven’t heard or tried Parse before, I encourage you to try their Quickstart here to get an idea of how the BAAS paradigm works. This post shows an example of a Mashape API integrated with Parse through Parse Modules.  Parse Modules are libraries that Parse developers import into their app to use certain functionality offered by 3rd-party APIs.  Once your API is turned into a Parse Module, it will be easier for developers to...

List of 40 tutorials on how to create an API

Here’s a useful list of resources on how to create an API, categorized by programming language. (We also have a post on 30+ ways to make a REST call in different languages) As an API Marketplace, Mashape helps developers discover, consume, distribute, and monetize private and public APIs.  We hope that the tutorials below would help you in your API journey. (If you’re looking for examples of APIs, check here for a list of face recognition APIs) Node.js http://flippinawesome.org/2013/09/23/easy-api-scaffolding-with-simple-api-and-node-js/ http://blog.modulus.io/nodejs-and-express-create-rest-api (May 2013) http://synthmedia.co.uk/blog/basic-nodejs-api-with-restify-and-save (May 2013) http://webapplog.com/tutorial-node-js-and-mongodb-json-rest-api-server-with-mongoskin-and-express-js/ (Jul 2013) http://thewayofcode.wordpress.com/2013/04/21/how-to-build-and-test-rest-api-with-nodejs-express-mocha/ (Apr 2013) http://webapplog.com/intro-to-express-js-simple-rest-api-app-with-monk-and-mongodb/ (Apr 2013) http://stackoverflow.com/questions/14990544/how-to-best-create-a-restful-api-in-node-js (Feb 2013) http://erichonorez.wordpress.com/2013/02/10/how-create-a-rest-api-with-node-js-and-express/ (Feb...

List of 50+ SMS APIs

How many SMS APIs do you know about?  Apparently there are a ton of them, as you can see from the list below!  Hope this helps in your app development. BurstSMS US (Also for Australia, UK, NZ) - BurstSMS web API allows you to build apps that can send and receive SMS. Use standard web languages to build applications that speak to global SMS carriers. No need to worry about complex SMPP servers or hosting SMS servers. Just send us your messages using our clean clear API calls and we will deliver it for you quickly and send you back confirmations or...

How to find app ideas for hackathons

This post is brought to you in part by Geeklist, a vibrant platform for geeks to discover, connect and share the great work they have done.  Check out the upcoming ‘Hack for Good’ global mobile hackathon this coming June 28th – 30th. We love hackathons!  We love seeing what developers can do with APIs.  Just look at this, this, this, this, this, this, and this! However with hackathons running almost every day, it’s easy to run out of app ideas.  What if your app was already created in some hackathon that you didn’t know about?  Or not sure if there’s...