Guide

Learn APIs with Codecademy

Last month, Codecademy announced a special “API track” that focus on courses teaching budding developers to code applications that consume APIs. Yesterday Codecademy has grown that list to 56 more APIs, including Mashape! What is Codecademy? Codecademy is a platform that provides a way for developers to teach; and would-be developers to learn how to code.  It provides course-creation tools, as well as “badges” (awards) for developers when they finish certain exercises. The great thing about Codecademy’s API track is that it not only teaches you how to code, but it also let’s you learn about a specific API...

“Getting Started” section for your API

One of the top requests we get from API providers in Mashape is to add a section where they can go beyond just plain text when providing more in-depth information about their APIs (e.g. introduction, usage guidelines, sample codes, etc).  This requires a level of formatting that simply cannot be achieved with just plain text. Also, having information in one place, as opposed to having several browser tabs open to read through the API usage information, can be quite a time-saver. We have added a “Getting Started” section for your APIs in Mashape.  It supports GitHub Flavored Markdown. You...

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

Windows 8 and Facebook Hackers! Welcome!

We’d like to invite our friendly hackers doing their Hackathon now in http://www.facebook.com/groups/win8hack/ to try our API wares! To whet your appetite, here’s an example code that uses Facebook and Chatterbox API to analyze your friends’ status messages. You can download the source code here.  Let us know if you have any questions! Good luck guys!...

Consuming OAuth-protected Mashape APIs

This is a sample app that demonstrates how to consume OAuth-protected Mashape APIs in Windows 8/RT.  This example uses a Twitter search endpoint in Mashape. Although this example uses Windows 8/C#, it is based on the same steps indicated in our “Authenticate with OAuth” documentation for REST, PHP, Python, Ruby, Objective-C, and Java/Android. For these languages, we auto-generate the endpoint’s ready-to-use libraries for your convenience.  A huge time-saver! We’d love to hear from you about Mashape’s OAuth support.  You can talk to us through Facebook or email us at support@mashape.com...

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

Calling Mashape APIs in Node.js through REST

UPDATE (Oct 28, 2013): The post below is already outdated.  To consume Mashape APIs through node.js, we recommend that you use Unirest for node.js UPDATE (Feb 27, 2013):  Please note that we have improved the way authentication keys are handled in Mashape.  The header value below will be replaced by either the new Testing or Production Keys.  Read this post to learn more. — Hi guys, here’s a short example on how you can call APIs in Mashape through Node.js / REST.  It’s pretty straightforward. You just need to remember that you need to make a secure call using https://, and...

We Heard You Like Documentation, So We Put Docs in Your Docs

It’s a pain to keep different versions of API documentation up to date and synchronized, so we are rolling out a new feature: Embedded Documentation from Mashape. If you are an API provider, you can embed the documentation of an API on Mashape to your website using our embed code. Here’s how: 1) Go to your API Admin/Documentation 2) Copy and Paste the Code onto your website For now it’s static. Dynamic test console is coming soon, stay tuned! -Dali...