def build_url(city_data, api_info):
    """Return a `request` compatible URL from api properties."""
    # type: (Dict, Dict) -> str
    return "{}:{}{}".format(
        api_info["host"], str(api_info["port"]), api_info["path"].format(
            city=city_data["city"], state=city_data["state"]))