load from yandex econom product only.

This commit is contained in:
Arsentiy Milchakov 2017-06-28 19:36:23 +03:00 committed by Aleksandr Zatsepin
parent fc7d0d162e
commit 7286ac3a19

View file

@ -55,7 +55,7 @@ bool RawApi::GetTaxiInfo(ms::LatLon const & from, ms::LatLon const & to, std::st
std::ostringstream url;
url << std::fixed << std::setprecision(6) << baseUrl << "/taxi_info?clid=" << YANDEX_CLIENT_ID
<< "&apikey=" << YANDEX_API_KEY << "&rll=" << from.lon << "," << from.lat << "~" << to.lon
<< "," << to.lat << "&class=econom,business,comfortplus,minivan,vip";
<< "," << to.lat << "&class=econom";
return RunSimpleHttpRequest(url.str(), result);
}