myRest is an easy to use REST client, packed in one file, ready to handle all the hard job of interacting with all API ’s out there.
Main Features:
Interact with API ’s like youtube, twitter, vimeo, etc.
Interact with login forms, or another type of sites.
Use different methods to archieve your needs. GET ,POST,PUT,DELETE.
Handle cookies: send or retrieve, even save it into a file, for later use.
Upload files (POST).
Login into non-API sites.
Basic Auth.
Automatic parser, don’t need to worry about response, myRest choose the apropiate type of content and parse it, such like: XML ,JSON,PHP or RAW data.
Control every sended header.
Use SSL certificates
Get every response header and status code.
Quick mode, use only one line to make requests.
Debug mode, to see exactly what’s going on.
Clean and readable OOP code.
Require:
php 5.3.x
CURL
documentation can be found here: http://demos.alternanetworks.com/scripts/myrest/documentation/