unirest

Search for cloud APIs in Windows 8 using Api World

If you’re a Windows 8 developer, install the Api World app for Windows 8.1 now.  From the app description: Description of API World APIworld is an application to help developers find the API they need, easily. Developers will get randomly themed APIs and randomly picked APIs to try out. You can also use the Search charm to search for any APIs and the Share charm to share the API they like. Features Random API every time you open the app Search and Share Charm Features The app was created by Abdullah Abbas aka “socialstalker”,  and was extended from Lionel...

Using Unirest (Java) for your Android projects

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.  Once you’re done with those 2...

Installing unirest-java with the Maven Assembly Plugin

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 you don’t have...

Unirest library for .NET platforms has been unified

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

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

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

Unirest for node.js now available

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: 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 the developer community can contribute and help with this goal of polishing the library and to accommodate more languages. Got some suggestions?  Follow the...

Call Mashape APIs in your Windows 8 and .NET applications via Unirest

As proud contributors to the open source community, nothing makes us happier than getting feedback and support from developers who like to make things better. Shortly after we released Unirest.io, we received a ton of feedback from developers who would like to get a Windows 8 and .NET port.  Before we can even get to it, we received contributions from Michael Azarkevich and Michael Sync who ported Unirest to the two platforms.  To the two Michaels, a HUGE THANK YOU!  You rock m/ We have officially rolled them in with the rest of the Unirest libraries here.  You can also check...

Unirest for .NET (C#, VB.NET, etc) Desktop and Windows 8 apps

After the successful launch of Unirest, an open source lightweight http client library, we received a lot of requests for a C# .NET port on Windows Desktop and Windows 8.  Even before we got to work, we’ve received contributions from the open source community who ported Unirest to .NET. This tutorial will show you how to use the Windows 8 (RT) port of Unirest in your application (We will follow this up with the Windows Desktop port in a later post, but it will follow pretty much the same steps).  Let’s get started! NOTE:  We will be updating this...

Unicorn has become Unirest

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 docs, and...

Releasing Unicorn into the wild

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” Here at Mashape, we use a lot of open source. Our tech stack includes a lot of popular frameworks and libraries which have allowed us to rapidly iterate and develop what we feel is the best cloud API proxy and marketplace the universe has...