enesigneci enesigneci - 3 months ago 43
jQuery Question

Getting Currency Information From Country Code in PHP

I want to get the currency code information (for example:USD etc.) from country code.I tried most of methods but I cannot have this data.I had the country code from geolocation.
How can I solve this problem and get the currency code?


You can do with this following api its very easy and good

https://restcountries.eu/rest/v1/alpha/in "in" be the country code for india.

Eg with jquery

   function (data) {

in data: you get almost every information related to country