PHP Classes

PHP API Caller: Send requests to different Web services APIs

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 859 All time: 4,076 This week: 55Up
Version License PHP version Categories
api-caller 0.2.10MIT/X Consortium ...5.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
  Performance   Level  
Name: Andre Roque Filipe <contact>
Classes: 9 packages by
Country: Portugal Portugal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (10)  
File Role Description
Files folder imageexamples (3 files)
Files folder imagesrc (3 files, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. Added license
Accessible without login Plain text file README.md Doc. New version - 0.2.0

  Files folder image Files (10)  /  examples  
File Role Description
  Accessible without login Plain text file Geoplugin.md Doc. New structure
  Plain text file GeoPlugin.php Class Class source
  Plain text file GeoPluginClient.php Class Class source

  Files folder image Files (10)  /  src  
File Role Description
Files folder imageClients (1 file)
  Plain text file Caller.php Class Class source
  Plain text file Client.php Class Class source
  Plain text file Operation.php Class Class source

  Files folder image Files (10)  /  src  /  Clients  
File Role Description
  Plain text file HttpMethodsClient.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Reuses Unique User Downloads Download Rankings  
 100%1
Total:859
This week:0
All time:4,076
This week:55Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1380