Your Lat/Long can be obtained directly from Hubitat using location.latitude and location.longitude. No need to query for them.
@csteele Just trying to set this up now and apiXU has been aquired by Weatherstack. I have signed up and obtained an API for Weatherstack (as I don't seem to be able to obtain an apiXU API).
Out of interest I have tried using this API in the device but it doesn't retrieve any states.
Do a search for 'darksky'.
There are 2 threads running. One using a PWS and one not.
I use this one.