Login   Register  
PHP Classes
elePHPant
Icontem

PHP API Caller: Send requests to different Web services APIs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-02-06 (10 months ago) RSS 2.0 feedStarStarStar 58%Total: 755 This week: 1All time: 4,105 This week: 1,384Up
Version License PHP version Categories  
api-caller 0.2.0MIT/X Consortium License5.4PHP 5, Web services
Description Author  

This package can send requests to different Web services APIs.

There is a base class that can send HTTP requests to given API URLs, retrieve the results and return decoded JSON, XML responses, or just the raw response data as a string.

Implementation sub-classes can send requests to several types of API Web services.

Currently it provides implementation classes to call OpenWeatherMap and GeoPlugin.

Picture of Andre Roque Filipe
Name: Andre Roque Filipe <contact>
Classes: 6 packages by
Country: Portugal Portugal
Age: 22
All time rank: 148821 in Portugal Portugal
Week rank: 144 Up3 in Portugal Portugal Up

  Files folder image Files  
File Role Description
Files folder imageexamples (4 files)
Files folder imagesrc (1 directory)
Accessible without login Plain text file LICENSE Lic. Added license

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file Geoplugin.md Doc. New structure
  Plain text file Geoplugin.php Class New structure
  Accessible without login Plain text file Openweathermap.md Doc. New structure
  Plain text file Openweathermap.php Class New structure

  Files folder image Files  /  src  
File Role Description
Files folder imageMASNathan (1 directory)

  Files folder image Files  /  src  /  MASNathan  
File Role Description
Files folder imageAPIcaller (1 file, 1 directory)

  Files folder image Files  /  src  /  MASNathan  /  APIcaller  
File Role Description
Files folder imageException (3 files)
  Plain text file APIcaller.php Class New structure

  Files folder image Files  /  src  /  MASNathan  /  APIcaller  /  Exception  
File Role Description
  Plain text file InvalidContentTypeException.php Class New structure
  Plain text file InvalidMethodException.php Class New structure
  Plain text file InvalidUrlException.php Class New structure

 Version Control Reuses Unique User Downloads Download Rankings  
 100%1Total:755All time:4,105
 This week:1This week:1,384Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:997