Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Exclude List ? #12

Open
tottka opened this issue Aug 20, 2017 · 0 comments
Open

Exclude List ? #12

tottka opened this issue Aug 20, 2017 · 0 comments

Comments

@tottka
Copy link

tottka commented Aug 20, 2017

I'm trying to exclude daily,alerts etc and can't seem to get the syntax correct.
I've tried: excludeList = ['daily,alerts,flags'] and this excludeList = 'daily,alerts,flags'
and
fio = ForecastIO.ForecastIO(apikey,exclude=excludeList,
units=ForecastIO.ForecastIO.UNITS_US,
lang=ForecastIO.ForecastIO.LANG_ENGLISH,
latitude=Prado[0], longitude=Prado[1])

and this
fio = ForecastIO.ForecastIO(apikey,
units=ForecastIO.ForecastIO.UNITS_US,
lang=ForecastIO.ForecastIO.LANG_ENGLISH,
latitude=Prado[0], longitude=Prado[1],
exclude=excludeList )

The results are always
https://api.darksky.net/forecast/apikey/lattitude,longittude?units=us&lang=en

Appreciate your help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant