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

Commit

Permalink
working on a location detection system
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Nov 27, 2019
1 parent 3966998 commit 697dda7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/com/andromeda/araserver/skills/Weather.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ class Weather {
break
}
}
var text = ""
for (i in toSort){
if (i.type == "NN" && i.word != time){
text += i.word
}
}
val urlSearch = URL("https://atlas.microsoft.com/search/address/json?subscription-key=fB86F9IVmt2S20DMe5rlo3kJOpNkaUp1Py5txnPQt-I&api-version=1.0&query=$text")
val jsonRawText = urlSearch.readText()
return ""

}
Expand Down

0 comments on commit 697dda7

Please sign in to comment.