Mashape Blog

Rumors aboard Mashape's spaceship

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
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
An online hackathon from our friends at the AT&T Developer Program!  Check it out below: Alright hackers, Here is the online hackathon challenge: Build a multiplayer game that involves two or more phones. Why? Haven’t you wanted to play games with the people in the same room but couldn’t? Something as simple as Tap of War would be awesome. Use Unity, phonegap + pubnub or the framework of your choice to build the app and remember that the fun factor matters the most in this competition especially if you can support massive multiplayer mode.

Helper Links

Chris Ismael
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. Auto-generated client libraries 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…