Skip to main content

WeAreSports Command-line interface

Project description

WeAreSports Command-line interface

This is a command-line script (wearesports) for managing activity booking on wearesports.fr, a sports complex in Lyon, France.

Activities

  • Badminton (badminton)
  • Squash (squash)
  • Padel (padel)
  • Foot XL (foot)
  • Foot 5 (foot_5)

Command-line script

Installing this package gets you a shell command, wearesports, that you can use to interact with wearesports.fr.

You’ll need to provide your WeAreSports credentials. You can do this with the --username and --password params, but it’s easier to just set them as environment variables:

export WAS_USERNAME=<username>
export WAS_PASSWORD=<password>

Usage

List available courts for badminton:

wearesports badminton schedule $(date +%Y-%m-%d)

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for wearesports, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size wearesports-0.1.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page