Endeve - Developers Area

Countries

In endeve, countries and regions are standardized. This method enables you to access all information about countries.

SHOW

GET /countries/#{id}.xml

Returns a country.

RESPONSE

<country>
<code>ES</code>
<code3>ESP</code3>
<currency-code>EUR</currency-code>
<currency-name>Euro</currency-name>
<id type=“integer”>65</id>
<name>Spain</name>
<native-name>EspaƱa</native-name>
</country>

LIST

GET /contries.xml

Returns a collection of countries.

RESPONSE

<countries>
<country>

</country>



<country>

</country>
</countries>

You can search a country by its english or its native name using the q parameter.