Mashape Blog

Rumors aboard Mashape's spaceship

Montana Flynn
Every March, college basketball fans find themselves deep in the throes of March Madness, even President Obama gets in on the fun. Here at Mashape, we were disappointed to find that developers were not invited to the party. The NCAA has no official APIs available. In fact, we couldn’t find any free public API out there! Something had to be done, so we made our own just in time for the Sweet Sixteen. Unfortunately, the NCAA and other sports leagues have yet to embrace open data and the innovations it can spur. Imagine a bracket predicting engine, real-time matchup-based…
Ahmad Nassri
Users of the Mashape Marketplace enjoy access to automatically generated code snippets for every API listed in the market. Today, we’re sharing the love with everyone: Announcing APIembed.com a free service to auto-generate embeddable code snippets in many programming languages for your website, blog or API documentation. We’re starting with a number of languages/cli tools including: cURL, Go, Java, Python, HTTPie, Node.js, Objective-C, OCaml, PHP, Wget, with more to come as we expand the service.   The service is open-source, so you can contribute your favorite programming language as well. We’d love to hear your feedback and suggestions! Head…
Christina Ng

Open-Sourcing Mashape’s Guardian. OAuth solved.

At Mashape, we support thousands of APIs. Over the years, we have learned a lot about different authentications and the complex world of OAuth. Today, we are happy to officially release Guardian.js, the open-source gatekeeper that removes the OAuth dance with a single request. In the past, the community has shown lots of love and support for our previous open-source projects: OAuthBible and Unirest.io. As we continue to develop new API tools, we’ll continue to share our work with the developer community! We hope you like it, The Mashape Team Get rid of…
Chris Ismael
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! The Unirest HTTP request library was ported sometime back for the classic .NET platform and WinRT.  They were packaged in 2 different…
Chris Ismael
We have just released Unirest for node.js.  Unirest is a lightweight HTTP client library also available for PHP, Python, Ruby, Objective-C, Java, .NET, and Windows RT. After installing and setting up Unirest for node.js, you can make a simple HTTP request like this: unirest.post('http://httpbin.org/post') .headers({ 'Accept': 'application/json' }) .send({ "parameter": 23, "foo": "bar" }) .end(function (response) { console.log(response.body); }); Source: https://gist.github.com/ismaelc/7109128

Why use Unirest?

The goal of Unirest is to provide developers a consistent manner of making HTTP request calls regardless of programming language used.  We have open-sourced this library so that…
Chris Ismael
Unirest.io Yesterday, we released our newest open-sourced project, which we named Unicorn. Unfortunately, that was also the name of two existing open sourced 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…