tutorial

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...

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...

Unirest for .NET (C#, VB.NET, etc) Desktop and Windows 8 apps

After the successful launch of Unirest, an open source lightweight http client library, we received a lot of requests for a C# .NET port on Windows Desktop and Windows 8.  Even before we got to work, we’ve received contributions from the open source community who ported Unirest to .NET. This tutorial will show you how to use the Windows 8 (RT) port of Unirest in your application (We will follow this up with the Windows Desktop port in a later post, but it will follow pretty much the same steps).  Let’s get started! NOTE:  We will be updating this...

Consuming Machine Learning APIs with Python

In this short tutorial we will use Python in our Mac Terminal to consume one of the Machine Learning APIs in this list.  Let’s pick DuckDuckGo. DuckDuckGo lets us define people, places, things, words, and concepts.  It also provides a list of related topics.  This is very useful if you want to get some context on a certain text. Although we’re picking DuckDuckGo, note that the steps below also applies to the rest of the APIs in the Machine Learning APIs list, and all Mashape APIs.  That means you can swap in and swap out APIs for your applications...

Video topic extraction and transcription via Speech2Topic API

This is a quick tutorial on how to transcribe and extract topics from videos using the Yactraq Speech2Topic API in Mashape. (Note: Yactraq is giving away $500 to the winner Yactraq category for this coming Mashape April Hackathon on Apr 6th, 2013.  We require a number of teams to submit to this category to unlock the prize :)) This is particularly useful if you’re trying to get context in the video, which can be used to query ad services to pull relevant content. The process is very simple, we send a link (YouTube) of a video to be processed by the Yactraq...

[Video] How to Monetize your API in minutes using Mashape’s Billing Addon

This video tutorial shows how you can add billing to your API in minutes, through Mashape’s Billing Addon. How to Monetize your APIs in minutes using Mashape’s Billing Addon from Chris Ismael on Vimeo....

[Video] How to Add your API to Mashape

This is a quick video tutorial on how to add your API to Mashape.  By adding your API to Mashape, you make it easy for developers to discover and test your API.  You are also one step away from adding a billing mechanism to your API. How to Add an API to Mashape from Chris Ismael on Vimeo. Join us in Facebook, Twitter, or email us at support@mashape.com if you have any questions!...

How to Use Mashape’s Auto-Generated Java client library for your Android apps

UPDATE (Dec 10, 2013):  The instructions below are outdated.  Please head to this post on how to call Mashape APIs in your Android projects. One of the ways that Mashape facilitates easy consumption of APIs is by offering auto-generated client libraries for several programming languages, for each of the APIs.  You can see these as a row of buttons lined up in the middle-right section of each API page in Mashape. This saves both the API provider and consumer / developer a huge amount of coding time and manpower, which allows them to attend to more important things like running...

5 Steps to List / Add your API to Mashape

This is a tutorial on how to add your API(s) to Mashape.  Do note that things change quite often so if you’re reading this from the future, some things might have changed.  But we’ll update this as often as we can so everyone’s on the same page (literally!). Before we start, you would need a Mashape account.  (You can skip this part if you’ve done this already).  Go to http://www.mashape.com/ and click on the button in the upper-right hand section of the page that says “Join Us”.  You’ll also have the option to sign up using your GitHub account. After signing...

Your app now has an API, automatically.

Applications created on Mashape can be included into other apps created on the platform, but their components can be also called from the outside using our API infrastructure. This means that a published application has its own APIs and also the client libraries to call them using different popular technologies. For example, your app can be called from: Web Applications Desktop Applications Native Mobile Applications Wherever it’s required Your app is programmable inside and outside Mashape from day 1! You don’t have to care about building the wrappers around the APIs, it’s our job. And also, the Mashape Client libraries allow...