GET /api/countries
<!--?xml version="1.0" encoding="UTF-8"?--> <countries type="array" page="1" per_page="100" total="247"> <country> ... </country> <country> ... </country> ... </countries>
GET /api/countries?code=DE
Listet das Land auf, das den ISO 3166 Alpha-2 Ländercode „DE“ hat. Groß- und Kleinschreibung wird ignoriert.
Folgende Parameter stehen zur Verfügung:
Parameter | Beschreibung |
---|---|
code | Ländercode nach ISO 3166 Alpha-2 |
GET /api/countries/{id}
<!--?xml version="1.0" encoding="UTF-8"?--> <country> <id type="integer">38</id> <name>Deutschland</name> <code>DE</code> </country>