PHP Classes

PHP Currency Converter: Convert amounts between currencies using Yahoo API

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 46%Total: 343 All time: 7,057 This week: 206Up
Version License PHP version Categories
pcc 1.1MIT/X Consortium ...5.0PHP 5, Web services, Finances
Description 

Author

This class can convert amounts between currencies using Yahoo API.

It takes a given amount in a given currency and sends a HTTP request to the Yahoo Finance API to convert the amount to another currency.

The class returns an array with the conversion details like the original and converted amount and currencies and the conversion date and time.

Picture of Ettore Moretti
  Performance   Level  
Name: Ettore Moretti is available for providing paid consulting. Contact Ettore Moretti .
Classes: 12 packages by
Country: Italy Italy
Age: ???
All time rank: 107741 in Italy Italy
Week rank: 163 Up8 in Italy Italy Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (3)  
File Role Description
Files folder imagepcc (1 file)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. Auxiliary data

  Files folder image Files (3)  /  pcc  
File Role Description
  Plain text file Pcc.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 Unique User Downloads Download Rankings  
 100%
Total:343
This week:0
All time:7,057
This week:206Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3202