Skip to main content

A wrapper for the tides API

Project description

CircleCI Sonarcloud Status Sonarcloud Status Sonarcloud Status Sonarcloud Status Sonarcloud Status Sonarcloud Status Sonarcloud Status

Tides

This module acts as a wrapper around the Tidal Data providers such as Admiralty (UK Tide provider).

Usage

Using tides is pretty straightforward. You will need to have your TideProvider's (currently on only Admiralty is implemented) access token set as an environment variable named TIDE_KEY.

tides = Tides('admiralty')
tides.provider.get_tides(station="Leith")

The TideProvdier interface defines the following methods:

def get_all_stations():

def get_station_by_id():

def get_station_by_name():

def get_tides():

def next_tide():

def time_to_next_tide():

Install

$pip install tides

Contributing

See the Contributing Guide

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

tides-0.1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

tides-0.1.0-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 2 Python 3

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