R
R
Romka Alexeev2017-04-19 21:46:40
JavaScript
Romka Alexeev, 2017-04-19 21:46:40

Yandex.Taxi - how to request a price?

Hello!
Is it possible to somehow programmatically fill in the "from" and "where" fields on this or this site, and then get the price tag?
It is the program input that is interesting, something like a POST request, if I understand correctly.
Thank you for any kick in any direction :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Pushkarev, 2017-04-19
@z0d1ac

Request for https://taxi.yandex.ru/3.0/routestats/
Here's what's in the request - prntscr.com/eyf6cq
And most likely you won't be able to complete the request.
It’s easier to use the same API to calculate the distance and make a calculation based on the tariff

A
Alexander Aksentiev, 2017-04-19
@Sanasol

Start with F12

A
Alexander Fedortsev, 2017-04-19
@a1exFed

If I understand you correctly .... then look at this:
https://habrahabr.ru/post/301426/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question