metro.getCountryList [HTTP GET]
Retrieve a list of all countries in the database.
Arguments
api_key (Required)
Your API application key. If you don't have one,
create one.
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<country id="83" name="Albania" code="al"/>
<country id="32" name="Argentina" code="ar"/>
<country id="57" name="At Sea" code="sea"/>
<country id="54" name="Atlantic Ocean" code="atl"/>
<country id="23" name="Australia" code="au"/>
<country id="17" name="Austria" code="at"/>
<country id="72" name="Austria - Vienna" code="vien"/>
<country id="7" name="Belgium" code="be"/>
<country id="45" name="Brazil" code="br"/>
...
</rsp>
Error Codes
404 Not Found:
- Missing valid api_key - Please create an API key using the above link.
- Your api_key is inactive or not found - Please contact us for support.