Coder Social home page Coder Social logo

astrosander / yandex-taxi-scraper Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 23 KB

Scraping information about nearest Yandex Taxi cars

Home Page: https://www.youtube.com/watch?v=ZM9H0qg8Rxo

Python 100.00%
yandex yandex-taxi yandex-taxi-api yandex-api yandex-go scraping

yandex-taxi-scraper's Introduction

Yandex Taxi Scraper

Logo

A scraping tool for searching and locating Yandex Taxi in the specific area

How it works

The area we are interested in is bounded by a rectangle with opposite vertices with coordinates PointA and PointB. Since we can only find out about the nearest cars within a radius of about 3 km, we will break our map into segments of this size, and then get information about each segment and remove repetitive information.


Example of splitting Moscow into equal polygons





Taxi near Domodedovo Airport (Moscow)


How to earn on Rush hours?

Let's draw a graph of taxi drivers number from time for 24 hours from Sunday to Monday.


Dependence of taxi drivers number from time

According to yandex blog about price formation

The number of free cars available at a particular time in the area where the passenger is located is one of the main factors affecting the price of the journey.

From our data, we can see that the number of taxi bookings increases dramatically, depending on how close to the new hour it is. For instance, ordering taxi at 7.30 a.m. would cost less then at 8.00 a.m. Thus we could save up to 20-25% depending on the time!

Analysing the price throughout the day we notice that the maximum orders are at 11.00 and 19.00. During 18:50-19:15, it's even so high that yandex servers couldn't manage all requests properly as shown on the graph. The least number of cars at 4:40 a.m.


Other examples


Taxi in Mozyr


Taxi in Moskow

yandex-taxi-scraper's People

Contributors

astrosander avatar aliaksandr-melnichenka avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.