PHP Currency Converter via Google Finance: Convert money value between currencies with Google

Recommend this page to a friend!
  Info   Example   View files (4)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 153 All time: 8,800 This week: 304
Version License PHP version Categories
currencyconvertnoapi 1.0.0GNU General Publi...5PHP 5, Web services, Finances, Parsers
Description Author

This class can convert money value between currencies with Google.

It can send an HTTP request to retrieve Google pages that present results of converting a money amount between two given the 3 letter codes of the desired currencies.

The class can parse the retrieved page and presents returned the converted amount value.

It does not use any API, so no API keys are necessary

Picture of Ciaran Moore
  Performance   Level  
Name: Ciaran Moore <contact>
Classes: 5 packages by
Country: United Kingdom
Age: 34
All time rank: 2344107 in United Kingdom
Week rank: 243 7 in United Kingdom
Innovation award
Innovation award
Nominee: 1x

Details

CurrencyConverter

Simple Currency Conversion Class

Designed for a quick and easy way of converting one currency to another, without 3rd party API's and bloated responses.

Usage

  
  <?php 

	include('CurrencyConverter.php');

	$cc =  new CurrencyConverter();

	echo $cc->convert(1,'EUR', 'NGN') . "\n";
  
  Files  
File Role Description
CurrencyConverter.php Class Class source
index.php Example Example script
LICENSE Lic. License text
README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:153
This week:0
All time:8,800
This week:304

For more information send a message to info at phpclasses dot org.