Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
weather stuff again!
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 10, 2019
1 parent 3093672 commit fde523f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/andromeda/araserver/skills/Weather.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class Weather {
val urlGrid = URL("https://api.weather.gov/points/$lat,$log")
val urlGridData = urlGrid.readText()
val json = JsonParser().parse(urlGridData)
print(json)
var links = json.asJsonObject.getAsJsonObject("properties").get("forecast").asString
print(links)
return "test"


Expand Down

0 comments on commit fde523f

Please sign in to comment.