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

Support IDs as an alternative to City, Country Format #47

Open
r-netizen opened this issue Dec 24, 2023 · 2 comments
Open

Support IDs as an alternative to City, Country Format #47

r-netizen opened this issue Dec 24, 2023 · 2 comments

Comments

@r-netizen
Copy link

I think it would be great to simply allow an array of IDs

@billykwooten
Copy link
Owner

Hey Netizen, i'm not sure what you mean by ID's here.

I use a Geo library (https://github.com/codingsince1985/geo-golang) to do the geo lookup for the coordinates to pass to the weather APIs to grab data. I'm not sure what an ID would quantify as in this case.

@lukeyeager
Copy link

I believe he's pointing out that openweathermap.org has a different ID for each city.

For example, there are three Jonestown, US cities. How should we specify which one we're interested in?

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

3 participants