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

Feature/weather #47

Merged
merged 19 commits into from
Mar 16, 2024
Merged

Conversation

AmeerAmjed
Copy link
Contributor

Use openweathermap api to get weather state using ktor and use coil3 to show image weather and change fake data weather state to real depend on city.

Not: don't forget get API key openweathermap and put.

@SEAbdulbasit
Copy link
Owner

Thank you so much for this, amazing ❤️
For the existing tourist places, will it work because they will not have lat and long or we can return the dummy data if lat and long in -1, -1 ?

@AmeerAmjed
Copy link
Contributor Author

Not a problem, everywhere It has been added location(lat,long). it's required to add a location to every place.
@SEAbdulbasit

@SEAbdulbasit
Copy link
Owner

Not a problem, everywhere It has been added location(lat,long). it's required to add a location to every place.
@SEAbdulbasit

Amazing man, the file was not rendered in the browser, so I missed it.

Just thinking about if the weather fetching is async or not because we don't want the use to stuck in switch tourist places.

@SEAbdulbasit SEAbdulbasit merged commit 17c66ef into SEAbdulbasit:master Mar 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants