Skip to content

A Python3 module to search the Cycle Babac catalogue and return description, price and availability.

License

Notifications You must be signed in to change notification settings

normcyr/recherche_babac2

Repository files navigation

Code style: black

Recherche Babac2

A Python3 module to search the Cycle Babac catalogue and return description, price and availability.

Installation

  1. Clone the repository
git clone https://github.com/normcyr/recherche_babac2
  1. Create a Python virtual environment using virtualenv
cd recherche_babac2
virtualenv -p python3 venv
source venv/bin/activate
  1. Install the module
python setup.py install

Setup the configuration file

cp config.yml.example config.yml

Then edit the config.yml file (eg nano config.yml) and change the value of the username and password variables to the proper credentials to log in to the Cycle Babac website.

Perform a search

Launch the search with the following command:

recherche_babac2 search text

For example:

recherche_babac2 training wheels

or, using a catalogue number:

recherche_babac2 22-150

About

A Python3 module to search the Cycle Babac catalogue and return description, price and availability.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages