Latest stories

get_cities

  • Inputs
{
    "country": "string: name of the country"
}

  • Errors
{
    "invalid_country_name": "if the country name could not be found",
    "must_login": "user must be login"
}

  • Extra Description
Return all the cities for the input country name

  • Sample
  • Url:
https://api.pantel.me/a/get_cities?country=IT
  • Output:
                                {
    "cities": [
        "abadia a isola",
        "abano",
        "abano terme",
        "abatemarco",
        "abbadia",
        "abbadia",
        "abbadia",
        "abbadia a isola",
        "abbadia di fiastra",
        "abbadia di stura",
        "abbadia lariana",
        "abbadia san salvadore",
        "abbadia san salvatore",
        "abbadia stura",
        "abbasanta",
        "abbateggio",
        "abbazia",
        "abbazia",
        "...",
        "zurin",
        "zuri"
    ],
    "status": "success",
    "time": 1545826674.0350327
}