PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2018-04-24 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 127 All time: 8,796 This week: 439Up
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

  Performance   Level  
Name: Ciaran Moore <contact>
Classes: 4 packages by
Country: United Kingdom 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 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:127
This week:0
All time:8,796
This week:439Up