uvimateapp

uvimateapp / UVIndexAPIOpenUV / 0.1.1

README.md

Get real-time UV Index by location

Request

curl -X GET \
'https://api.openuv.io/api/v1/uv?lat=-33.34&lng=115.342&dt=2018-01-24T10:50:52.283Z' \
-H 'x-access-token: YOUR_API_KEY'

Response

{
  "result": {
    "uv": 5.6377,
    "uv_time": "2018-01-20T13:25:40.562Z",
    "uv_max": 12.5159,
    "uv_max_time": "2018-01-20T04:29:18.813Z",
    "ozone": 290.1,
    "ozone_time": "2018-01-20T01:50:25.780Z"
  }
}

Get your API Key on https://www.openuv.io