Get dict_city list information

HTTP method Endpoint
GET /v1/dict_city

Note: When you request this field, it will return you the targeted city information from the dictionary .

Path parameters

Parameter Description
countrys name/code of the country .

Note: Country field can't be null, you can enter up to 5 countries with countries names or codes.

Response body parameters

Field Type Description
country string name of the country.
code string International short of this country.
citys array[string] The country's urban areas.

Example request

Request GET http://{networkname}.api.offerslook.com/v1/dict_countries?countrys=American Samoa,BF


Example response

{
    "code": 0,
    "message": "Success",
    "data": {
        "dict_country": [
            {
                "country": "American Samoa",
                "code": "AS",
                "citys": "Pago Pago"
            },
            {
                "country": "Burkina Faso",
                "code": "BF",
                "citys": "Banfora,Bobo Dioulasso,Bougouriba,Dedougou,Fada-Ngourma,Ganzourgou,Kaya,Koudougou,Ouagadougou,Ouahigouya,Seno,Tenkodogo"
            }
        ]
    }
}

results matching ""

    No results matching ""