A tide storage tool and API.
A tool to acquire, store, and serve tide data. Designed to have pluggable backends for multiple tide services. So far NOAA is the only source.
Use pip to install from PyPI:
pip install django-tides
Add django_tides to your settings.py file:
INSTALLED_APPS = ( ... 'django_tides', ... )
beautifulsoup4 to parse the XML served by NOAA
django-tastypie to generate the API
django-tides comes with a management function:
This will pull all tide data for all available backends. Use this with care as it will use a lot of bandwidth.
django-tides exposes two endpoints for now:
Provides the water level at a specific station over time. Example:
Provides a list of stations within proximity of a given point. Example:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.