« All Events
1 PM – Android Game Dev – Gamas
October 7, 2023 @ 1:00 pm - 2:00 pm
Today We Did
- We reviewed each individual project and assigned next week assignment.
- We registered to pixabay.com and openweathermap.org to get their API Keys.
- We explained how to programatically get data from these 2 websites.
Homework
- Continue on your individual project according to your assignment listed in google doc.
- Inside MetropolitanWeatherApp when user click “Fetch” button,
- Get text that user enter from “cityTextField” UI component.
- Produce 2 string into shell
- https://pixabay.com/api/?key=<PIXABAY_API_KEY>&q=<Text That User enter>&image_type=photo&pretty=true
- https://api.openweathermap.org/data/2.5/weather?q=<Text That User enter>&appid=<OPENWEATHERMAP_API_KEY>&units=metric”