Welcome to mirror list, hosted at ThFree Co, Russian Federation.

yango_api.hpp « partners_api - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2bbaf546e5426aab25875692502d73f4f5a7d6c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "partners_api/taxi_base.hpp"
#include "partners_api/yandex_api.hpp"

namespace taxi::yango
{
class Api : public yandex::Api
{
public:
  explicit Api(std::string const & baseUrl = yandex::kTaxiInfoUrl) : yandex::Api(baseUrl) {}

  /// Returns link which allows you to launch the Yandex app.
  RideRequestLinks GetRideRequestLinks(std::string const & productId, ms::LatLon const & from,
                                       ms::LatLon const & to) const override;
};
}  // namespace taxi::yango