How to convert currency using Google API and PHP

It's only fair to share...Share on Facebook0Share on Google+8Tweet about this on Twitter0Share on LinkedIn3Pin on Pinterest0Digg thisShare on StumbleUpon1

There are lots of API available to convert currency, but here we are using Google Finance Currency Converter . There are basically 3 parameter required: From Currency, To Currency and Amount. Using these three parameter we are sending HTTP request on “Google Finance Currency Converter” and in response getting raw data in HTML format. In the final stage we parse the HTML data through regular expression and get the converted amount.

 

Comments

  1. By pradeep

    Reply

  2. By Mahendran

    Reply

    • Reply

  3. By khasim

    Reply

  4. By Crawley

    Reply

    • Reply

  5. By mohammad

    Reply

  6. By Akeel

    Reply

  7. By john.smith

    Reply

  8. By rahul

    Reply

    • Reply

  9. By babu

    Reply

  10. By maliha

    Reply

  11. By Toni

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">