Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs on PyPi might need updated? #3

Open
skotl opened this issue Oct 24, 2021 · 0 comments
Open

Docs on PyPi might need updated? #3

skotl opened this issue Oct 24, 2021 · 0 comments

Comments

@skotl
Copy link

skotl commented Oct 24, 2021

Hi there
First off - thanks very much for your efforts on this - much appreciated!

I downloaded the package from pypi but couldn't get it to work by following the docs over there. I should say that I'm a python newb so it could very well be something I'm doing wrong, but I couldn't get the library working with the docs over there as:

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

But I could get it to work by using this:

import tides

TIDE_KEY="*api-key*"
STATION="Leith"

provider = tides.TideProvider.get_provider("admiralty", TIDE_KEY)
tidal_info = provider.get_tides(station = STATION)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant