Wednesday 6 November 2013

FREE and REAL-TIME Currency conversion API

For some people that are looking for a FREE and REAL-TIME currency conversion API.
There are our contribution.

Call API Method:
devel.farebookings.com/api/curconversor/[currency from]/[currency to]/[amount]/[output type (optional)]

Page returns the TOTAL of amount in [currency to] currency.



Some examples of API use:


## We want convert one Euro to pounds.
devel.farebookings.com/api/curconversor/EUR/GBP/1/


## We want convert three Euro to pounds and output in json format.
devel.farebookings.com/api/curconversor/EUR/GBP/3/json


## We want a cross domain ajax API call.

$.ajax({
        url: "http://devel.farebookings.com/api/curconversor/EUR/GBP/1/",
        dataType: 'jsonp',
        success: function (data) {

            alert(data.GBP);

        }

});




Raul Torrico.
Web developer.
Farebookings.com