PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 156 All time: 8,883 This week: 192Up
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: 35
All time rank: 2273103 in United Kingdom
Week rank: 523 Up19 in United Kingdom Up
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 folder image Files  
File Role Description
Plain text file CurrencyConverter.php Class Class source
Plain text file index.php Example Example script
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:156
This week:0
All time:8,883
This week:192Up
For more information send a message to info at phpclasses dot org.