Guide

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

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

The Tech Entrepreneur Road – To raise Venture Capital or not?

Raising venture capital is like adding rocket fuel to your business. For most businesses this is not warranted, creates the wrong incentives and even if it was successful, the dilution resulting from multiple rounds of VC funding means that the founders do not make enough personal money when the business is ultimately sold. Raise a small round of capital: $20k – $200k from the three F’s (friends, family and fools) Use this to build a “good enough” product: sign up pilot customers, develop a scalable Business Model, and get your initial team in place Raise a round of angel money/ seed...

How to Try the New Google Search

The rumors about Google’s redesign are true, and you can try out the new Google Search with a very simple method. 1. Go to Google.com. 2. Paste in the search bar this code below: javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”); 3. Click on “Google Search” button 4. Here we go! You are in the new Google! Enjoy...

What to write in a great technical documentation?

We came across this article by Jacob Kaplan-Moss titled “What to write“. The article shares some great tips on writing great technical documentation. We’ve reproduced some parts of the article and summarized some main points below which we think would be the most useful for Mashapers. Formats of a technical documentation A well-documented project needs to provide many different forms of documentation. At a high level, you can break down the different types of technical documentation you need to provide into three different formats: Step-by-step tutorials, Overviews and topical guides to the various conceptual areas of your project, and Low-level, deep-dive reference material. Tutorials Good tutorials...