Mashape Blog

Rumors aboard Mashape's spaceship

Frédéric Harper
Creative Commons image: https://flic.kr/p/9xiduB There is nothing more exciting than seeing hackers use their creativity in a small amount of time to create an amazing piece of software using APIs from Mashape. This is why we often participate and sponsor hackathons. Most of the time we sponsor a category prize; where to win, you must use one of the 10,000+ APIs in our marketplace. We strive to find cool prizes you’ll enjoy, such as Arduino or Raspberry Pi starting kits, RC Quadcopters, Android tablets, and more. Since teams usually consist of four members, we always have a prize for each…
Orlando

Dota2 vs. League of Legends – Which do you prefer?

Here at Mashape we love online games, most Mashapers are avid online gamers, we all have our favorite style and secret strategies to beat our enemies online. Of course we love to take sides, we love joking around about Marco’s camping skills on Counter Strike, and Nijiko’s pride in last hitting creeps. var games = ["Quake3","WoW","Dota2","LoL","CS1.6","UT"]; function wePlayedIt(gamesArray){ for(i = 0; i < gamesArray.length; i++) { var p = document.createElement("p"); p.innerHTML = "We played " + gamesArray[i]; document.body.appendChild(p); } } (wePlayedIt(games)); Whether FPS, RTS, MOBA or MMO, we’ve probably played…
Orlando
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…
Orlando
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
Montana Flynn
  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
Chris Ismael
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.
Chris Ismael
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…
Chris Ismael
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…
Chris Ismael
Photo credit: Parse 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…
Chris Ismael
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…
older posts >