achicha / travel

parser (client), which finds cheapest avia tickets and send them to the server https://github.com/achicha/telegram-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick start
  • Clone this repo: git clone https://github.com/achicha/travel

  • go to repo's folder: cd travel

  • Install dependencies

    • with pipenv: pipenv install or pip install -r Pipfile
    • or using pip: pip install -r requirements.txt
  • create .env file: touch .env

  • add private parameters to .env:

      TOKEN=your_telegram_token
      CHAT_ID=your_telegram_chat_id
      DATABASE_NAME=db_name
      DATABASE_CON=sqlite:///
      HEROKU_URL=https://your_app.herokuapp.com/
      TRAVEL_ROUTE=my_api
    
  • activate virtualenv: pipenv shell

  • run this app: python run.py aviasales -from LWN -to MOW -s 2018-04-28 -e 2018-05-03 -p 10200

About

parser (client), which finds cheapest avia tickets and send them to the server https://github.com/achicha/telegram-bot


Languages

Language:Python 100.0%