-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe
20 lines (14 loc) · 1.04 KB
/
ReadMe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ____. __________
// | | __________ ____\______ \_____ _______ ______ ____
// | |/ ___/ _ \ / \| ___/\__ \\_ __ \/ ___// __ \
// /\__| |\___ ( <_> ) | \ | / __ \| | \/\___ \\ ___/
// \________/____ >____/|___| /____| (____ /__| /____ >\___ >
// \/ \/ \/ \/ \/
on line 13 change
final private static String YOUR_API_KEY = "YOUR_API_KEY"; // get your api key from https://openweathermap.org/api_keys
to whatever your key is...
final private static String YOUR_API_KEY = "asdkhfaysdf87hq3480g234"; // get your api key from https://openweathermap.org/api_keys
This is just a demo on how to use the api, you can use it as a base for your own project.
It demonstrates how to convert the api output to a JSON object and output it into your program.
GoodLuck!
If you would like to see use the Sample JSON you will have to read it from the file and not the api.