Skip to main content

BC Ferries Python Library

Project description

# BC Ferries Python Library

This is the Python client library for interacting with information published to the [BC Ferries mobile site](http://mobile.bcferries.com/). It is essentially a wrapper around a BeautifulSoup scraper.

## Installation

`pip install bcferries`

## Usage

```python
from bcferries import BCFerries

bc = BCFerries()
terminals = bc.terminals()
t = terminals['Tsawwassen']

routes = t.routes()
r = routes['Tsawwassen to Duke Point']

crossing = r.crossings()['10:45pm']
print crossing.capacity
```

Project details


Download files

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

Files for bcferries, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size bcferries-0.0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page