Method: wro - country_list
Get a list with all countries that have current Wrecks and Relics locations. Some countries are split into states which come into a separate element in the response. Countries without locations split per state will have an empty states element.
This method does not require any parameters and has no options to filter the results.
- Entry point:
- wro
- Method name:
- country_list
- Url:
- https://www.spottingmode.com/api/wro/country_list/
create an url with the url creator tool - Daily limit:
- 500
- Weekly limit:
- -
- Monthly limit:
- -
- Authentication required:
- Api key
Method parameters
This method has no parameters
Method response
Response formats available for this method: json, xml
json
{"countries": [ { "country_name": "Algeria", "region_name": "Africa", "num_locations": "41", "states": "" },{ "country_name": "Canada", "region_name": "Americas", "num_locations": "194", "states": [ { "state_name": "Alberta", "num_locations": "27" },{ "state_name": "British Columbia", "num_locations": "21" },{ "state_name": "Manitoba", "num_locations": "23" },{ "state_name": "New Brunswick", "num_locations": "6" },{ "state_name": "Newfoundland and Labrador", "num_locations": "5" },{ "state_name": "Northwest Territories", "num_locations": "3" },{ "state_name": "Nova Scotia", "num_locations": "5" },{ "state_name": "Ontario", "num_locations": "74" },{ "state_name": "Quebec", "num_locations": "19" },{ "state_name": "Saskatchewan", "num_locations": "10" },{ "state_name": "Yukon Territory", "num_locations": "1" }] }] }xml
<root> <countries> <country> <country_name>Algeria</country_name> <region_name>Africa</region_name> <num_locations>41</num_locations> <states></states> </country> <country> <country_name>Canada</country_name> <region_name>Americas</region_name> <num_locations>194</num_locations> <states> <state> <state_name>Alberta</state_name> <num_locations>27</num_locations> </state> <state> <state_name>British Columbia</state_name> <num_locations>21</num_locations> </state> <state> <state_name>Manitoba</state_name> <num_locations>23</num_locations> </state> <state> <state_name>New Brunswick</state_name> <num_locations>6</num_locations> </state> <state> <state_name>Newfoundland and Labrador</state_name> <num_locations>5</num_locations> </state> <state> <state_name>Northwest Territories</state_name> <num_locations>3</num_locations> </state> <state> <state_name>Nova Scotia</state_name> <num_locations>5</num_locations> </state> <state> <state_name>Ontario</state_name> <num_locations>74</num_locations> </state> <state> <state_name>Quebec</state_name> <num_locations>19</num_locations> </state> <state> <state_name>Saskatchewan</state_name> <num_locations>10</num_locations> </state> <state> <state_name>Yukon Territory</state_name> <num_locations>1</num_locations> </state> </states> </country> </countries> </root>