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”).
1. Follow Steps 1 and 2 from the Unirest-java/Maven tutorial.
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
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
in your Terminal. OS X prior to Maverick already comes with Maven. If…
Note: Check out our latest API collections page for the list of updated APIs.
Here’s a list of useful APIs to help you determine if that email address is real
simple api that checks if an email address if valid and exists. It checks the format of the address then tries to contact the server to make sure the address exists.
Social Media Email Search
This API allows searching the popular social networks (facebook, linkedin, twitter, tumblr, myspace) for an email address. If found, the site ID will be returned.
Want to build an amazing financial trading app? We’ve got the API for you!
Tradier is a next generation financial services technology solution with a bundled platform for tool providers, online banks, developers and investors. Tradier offers a complete set of real-time APIs, data, and an advanced set of secure web and mobile modules for clients to deliver powerful investor experiences.
As a cloud based brokerage technology platform for trading and analytics, Tradier empowers application providers to bring their products to a larger audience of institutional and active retail traders. Integration with Tradier’s API enables developers to build applications that…
If you’re around the SOMA area in San Francisco this Friday, December 6th, 7pm
, feel free to drop by our “Party Like Jesus” holiday celebration! RSVP here!
DJs, OPEN BAR, and lots of fun
. See ya there mate!
Mashape is proud to introduce Best Buy to our fast growing community of world-class developers and API providers.
Best Buy is focused on connecting customers, employees and businesses through access to in-depth information about specific products and categories. The company embraces developers and encourages them to build smart and helpful tools; ultimately, enhance a customer’s shopping experience.
The Best Buy API provides full category and product information to over 1m current and historical products, including up to date pricing. Don’t forget reviews. With the API you get access to all product ratings and reviews. Need to find the closest store? …
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
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…
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
If you have suggested additions to…
David O’Neill, CEO of APImetrics, shares with us his insights on the importance of monitoring your API’s health.
is a set of web-based tools that make it easy to create, manage, and schedule complex API tests, even those requiring authentication.
Q: What are some examples of crucial data points that developers should track when they want to monitor the performance of their APIs?
Uptime – obviously. A lot of people have a telecommunications ‘mindset’ of “5 nines” or 99.999% uptime… whereas the reality of most web APIs is 99% or worse. Or to put that in another perspective –…
Do you need a payment gateway that can process up to 100 transaction currencies and over 23 payout currencies? We’ve got your solution!
Mashape is proud to have PAYMILL join our community, one of the leading and most dependable payment service providers in Europe. The PAYMILL API provides merchants with an easy-to-use payments solution that is quick to set up and widely available. With minimal effort the API enables you to customize a checkout experience according to the flow of your website.
Available in 39 countries, plus, with no monthly costs – only transaction based, we think you should include…