Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKen Alger
Treehouse TeacherNode.js Basics - Extra Credit
I took the Extra Credit Challenge in the Node.js Basics course to make a command line tool to check the weather.
My version is for obtaining weather related to airports, their delay status, and weather conditions. It utilizes the JSON data made available by the FAA and works with major US airports and their IATA code. If you have made it through the course and did the command line app, this is a rather slight modification on that concept.
Let me know your thoughts.
Ken
Ken Alger
Treehouse TeacherGood idea. Done.
Ken
Jeff Everhart
21,732 PointsHi Ken,
Thanks for sharing your example. I like that you decided to play around with a different API than the one Andrew suggested in the course.
I took my own crack at using forecast.io and ended up including a request to the Google Maps API to convert an address to lat/long. After looking at your code example, I might also make the code more modular and use process to provide the query arguments on the command line.
JE
Ken Alger
Treehouse TeacherJeff;
That is a great API. There is a new course in the Android library called Build a Weather App that utilizes Forecast.io. If you have not looked at that course yet I highly recommend it. Integrating the Google Maps API is a nice touch as well.
Nice work!
Ken
Jeff Everhart
21,732 PointsThanks, Ken!
I saw that, but I think I might brush up on the Java course before that one. Cheers!
JE
Robert Richey
Courses Plus Student 16,352 PointsRobert Richey
Courses Plus Student 16,352 PointsHi Ken,
I like it! My only comment is to perhaps change http to https. Thanks for sharing.