Skip to main content

Notifications for https://www.paybyphone.fr/

Project description

Simple bot that sends you an email when you didn’t pay your parking on https://www.paybyphone.fr/

Installation on a Raspberry PI

Get pip

apt-get install python3-pip

Install paybybot

pip3 install paybybot

Configure your credentials

# ~/.paybybot
{Your phone number}:{PayByPhone password}

# ~/.email-creds
{Your email address}:{Email password}

For your email account, I advise you to use an app password. See here for Gmail.

Geckodriver

Inspired by https://askubuntu.com/a/871077

  1. Go to the geckodriver releases page. Find the latest version of the driver for the ARM platform and download it. For example:

    wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
  2. Extract the file with:

    tar -xvzf geckodriver*
  3. Make it executable:

    chmod +x geckodriver
  4. Add the driver to your PATH so other tools can find it:

    echo "export PATH=\$PATH:$PWD/geckodriver" >> .bashrc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paybybot-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

paybybot-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file paybybot-0.0.1.tar.gz.

File metadata

  • Download URL: paybybot-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for paybybot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 109b35d9097efe323e5de4cc02833468a3bf9b351c4472f64f6f796082c545a6
MD5 4c0e5fbd1a0272273b8a03baa0ddbde1
BLAKE2b-256 b34cf7b0debbb889a81ccf5a69b3a23a054af80d55bd5f996d079faa1b22f677

See more details on using hashes here.

File details

Details for the file paybybot-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: paybybot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for paybybot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5c8fe8af3e4d40bcb65097d09ffec4f685e7d683123ff527e4fced7ce857f7e
MD5 93c13f4cbe074f91cb1695395c70ab1f
BLAKE2b-256 9e4183fc454c1a4ebaf5b8cd671916c69fe30122855928c51612ac6730b06659

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page