Interfacer is an abstract library that allows you to easily create HTTP requests to external web APIs. It utilizes the cURL library to seamlessly and quickly fetch and return data. Furthermore, the data returned can be parsed to any of the following formats: XML, JSON, object and array.
The class does its best to automatically set the correct HTTP headers, query params, cURL options or data format. Anything else can easily be manually applied.
Lastly, the package comes with pre-written classes for popular APIs. These APIs include: Twitter, WeGame (more to come, you’re welcome to add your own!).