wearesports

WeAreSports Command-line interface


Keywords
wearesports, sports, booking, command-line, cli
License
MIT
Install
pip install wearesports==0.1

Documentation

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)