Join For Free

Unirest for .NET platforms has been unified Posted 4 months ago

image

We’re happy to announce that the Unirest library for .NET and RT (“windows 8”) has been merged!  This was possible thanks to Lionel Ringenbach’s contribution :)  

Lionel is a C#/XAML developer based in Switzerland.  He enjoys developing for Microsoft platforms (mobile, tablets, desktop).  He loved to code because "it is the most creative tool that has been given to me - you think, create, and make everyday a better day!"

We’ve asked him to write the post below.  Enjoy!

Read More

30+ ways to make REST calls in Node.js, PHP, Python, Rails, Obj-C, .NET, and Java / Android Posted 4 months ago

image

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 add it here!

Read More

Unicorn has become Unirest Posted 11 months ago

image

Yesterday we released our newest open source project, which we called unicorn, unfortunately that was also the name of two existing open source projects. We really dropped the ball and have been working hard to clean up the mess.  Our apologies to anyone in the Ruby or Python community who was confused or pissed off.  Hopefully you can look past our mistake and see the value in this project.

Since yesterday we have decided on a new name, Unirest, which we think is a great fit for the project. We also made a new website, changed out all the docs, and updated our website which autogenerates unirest API snippets.

Read More

Releasing Unicorn into the wild Posted 11 months ago

image

UPDATE: We’ve got a lot of comments and suggestions on the ‘Unicorn’ naming. We apologize for the confusion and are working on finding a new name. Have a suggestion? Tweet us @mashape

UPDATE #2: We picked a new name, unirest.io is up and running.

UPDATE #3: Check our latest post on “Unicorn has become Unirest

Read More

Calling Mashape APIs in Node.js through REST Posted 1 year ago

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 have a generated Mashape Authorization header and plug it in the header parameter.

(You can download this source code from Github)

And then run the node.js script like so..

You would get a nice JSON reply that you can start parsing.

If you’re new to Node.js, you can check out their site at http://nodejs.org/ .  You can get either the source code or binaries for Node.js there.

We’d like to invite node.js developers out there to share with us any applications that you are planning/or have created using the APIs in Mashape.  There are tons of APIs to try!  You can head over to our Facebook page if you have questions.

Happy coding!