Skip to content

dylan-sacco/JSONdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

//           ____.                  __________                             
//          |    | __________   ____\______   \_____ _______  ______ ____  
//          |    |/  ___/  _ \ /    \|     ___/\__  \\_  __ \/  ___// __ \ 
//      /\__|    |\___ (  <_> )   |  \    |     / __ \|  | \/\___ \\  ___/ 
//      \________/____  >____/|___|  /____|    (____  /__|  /____  >\___  >
//                    \/           \/               \/           \/     \/ 

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.

About

Shows how to handle JSON in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages