Skip to content

p-well/3_bars

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Nearest Moscow Bars

The program will help you to find the biggest and the smallest Moscow bars as well as the closest bar to you.

Quickstart

To run the program use the following commands in CLI:

python bars.py -p <filepath> 

or

python bars.py --page <filepath>

Filepath should be like:  C:\projects\devman\3_bars\moscow_bars.json

To find the nearest bar user have to input his GPS coordinates: latitude and longitude respectively.

The input data is retrieved from Moscow City Government Open Data data.mos.ru in JSON format.

Example of Script Launch

Самый большой бар в Москве - это "Спорт бар «Красная машина»". В нем 450 мест и находится он
по адресу: Автозаводская улица, дом 23, строение 1.

А самый маленький бар называется "БАР. СОКИ" и в нем 0 мест. Его адрес: Дубравная улица, дом 34/29.

Ок. Давай теперь найдем ближайший бар! Нужно ввести свои координаты -
широту и долготу. Например: 55.753215 и 37.622504.

Широта:55.679369
Долгота:37.704353

Ближайший бар - это Бар «Клешня». Его адрес: Новочеркасский бульвар, дом 13.

Project Goals

The code is written for educational purposes. Training course for web-developers -DEVMAN.org

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%