Skip to main content

Python wrapper for the unofficial LCBO API

Project description

Python 3 wrapper for the unofficial LCBO API

Full API documentation for LCBO API can be found at: []


Via PyPI:

$ pip install lcboapi

Via Github:

$ git clone
$ python install


Obtain an access key from LCBO API.

Initialize API wrapper:

from lcboapi import LCBOAPI

api = LCBOAPI('your_API_access_key')

Get data for store #614:

print api.stores(614)


First setup your virtual environment:

$ virtualenv env
$ . env/bin/activate
$ pip install -r requirements.txt

Then set an environment variable for your API access key:

$ export LCBOAPI_ACCESS_KEY='your_API_access_key'

Finally, run tests:

$ py.test

Versioning and Publishing


  • bumpversion <>

  • twine <>


$ . env/bin/activate
$ pytest tests/
$ bumpversion [patch/minor/major]
$ python sdist bdist_wheel
$ python -m twine upload dist/*

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

lcboapi-0.2.1.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

lcboapi-0.2.1-py3-none-any.whl (6.3 kB view hashes)

Uploaded py3

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