Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Weather App Networking Making an HTTP GET Request with OkHttp

I can't study this course Dark Sky API

I read from this post: The Dark Sky API is GONE. It's been purchased by Apple. where I can get API from other websites like Yahoo...

But I don't know exactly how to use it and it is really confusing.

Can someone give me a hand how to do it step by step? Would like to see pictures (PrintScreen) to see detail.

Really frustrating 😓🙍🏽

4 Answers

Steven Parker
Steven Parker
210,867 Points

:bookmark: I got your tag alert, and I've suggested alternative API's in an answer to this other question.

But I haven't personally tried to replicate the course using one of the other API's. I'd expect it has already been suggested, but you may want to pass your own comments along to the staff. See the Support page for details on submitting a suggestion.

However, since we already have proof how API's can change or shut down, I'm not sure how important it is to learn any one specific one anyway. So the real-world experience of adapting to a new API using it's own documentation would lead to a very valuable skill.

This hopeless. She suggests me to look at your link you have sent to try out while she is contacting to other staff people... This cost me a lot of time. Hopeless.

Steven Parker
Steven Parker
210,867 Points

At least one other student has adapted to another API, you might try leaving a comment for them in the other question. They may have some tips and/or code they would share.

Steven Parker excuse me for tagging you. I wonder if you know how to solve this problem? Do you know how to do in step by step? Mind to help? :/

Kelvin Ng
PLUS
Kelvin Ng
Courses Plus Student 6,430 Points

I'm currently trying with Open Weather Map API, not sure if it works. It's a free API with 10 calls so you can try opening an account and find their APPID with their URL format and adapt it according to the video.

Try this link to understand how Accuweather API work, https://www.youtube.com/watch?v=FLd0w2oBnXY and this link to pull a request from it, https://www.youtube.com/watch?v=6gDukPjbU2I