Git Product home page Git Product logo

toogoodtogo-watcher's Introduction

TooGoodToGo Watcher

Python watcher for TooGoodToGo.

Features

  • Few dependencies (requests, python-telegram-bot)
  • Fetching updates with random time update
  • Night mode which prevent fetching during the night
  • Speedup mode which fetch more quickly for specific time range
  • Send notifications using Telegram Bot
  • Console listing

Setup

Configure your account

Create a new account dedicated, login with this account on your phone. Setup your favorites merchant on the app.

Configure the watcher

Copy the config.sample.py to config.py and update:

  • Set your credentials
  • Set coordinates for distance computing
  • Normal wait time are random range for default fetch
  • Speedup time and wait defines time range and wait range for speedup period
  • Pause fields set night mode which disable fetch during night
  • Telegram token and chatid for notification

Telegram Bot

Setup your Telegram Bot by talking to @BotFather, then set your token on the config. Create a group and join it, joins your bot on this group. Then vists https://api.telegram.org/bot<TOKEN>/getUpdates to get your chat_id.

Source

Based on marklagendijk/node-toogoodtogo-watcher version but written in python with few depencencies and extra features.

toogoodtogo-watcher's People

Contributors

maxux avatar

Watchers

James Cloos 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.