getCityByName
$curl_post_data = array( "user" => $user, "secret" => $secret, "ubCall" => "getCityByName", "ubParams" => array( "name" => $cityName, "results_limit" => $results_limit ) ); $obj = $restCall->post_rest( "https://ssl.upbooking.com/server/api/post", array( "dispatcher" => json_encode($curl_post_data), "debug" => "0" ) );
Value | Description |
name | name of the attribute |
country | 2 letters ISO country code |
region | Region ID |
latitude | Latitude of the place |
longitude | Longitude of the place |