Historical UVI data by polygon

API call:

http://api.agromonitoring.com/agro/1.0/uvi/history

Parameters:

appid Personal api key

polyid ID of polygon

start Starting point of time period in UNIX time

end Final point of time period in UNIX time

Examples of API calls:

http://api.agromonitoring.com/agro/1.0/uvi/history?polyid=5aaa8052cbbbb5000b73ff66&appid=bb0664ed43c153aa072c760594d775a7&start=1498049953&end=1498481991

Example of API response:
[
   {
      "dt":1498132800,
      "uvi":8.77
   },
   {
      "dt":1498219200,
      "uvi":8.61
   },
   {
      "dt":1498305600,
      "uvi":8.3
   },
   {
      "dt":1498392000,
      "uvi":8.6
   },
   {
      "dt":1498478400,
      "uvi":8.36
   }
]
Parameters:
  • dt Time of data calculation (unix time, UTC time zone)
  • uvi float - Ultraviolet index