I use JQ, a command-line JSON processor/parser to get weather information from Weather Underground and Geo data from Google. AppleScript can interact with the command line, so I get the information from JQ and than process it with my AppleScript programs.

https://stedolan.github.io/jq/