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
```
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bcferries-0.0.2.tar.gz
(3.2 kB
view hashes)