Accumulated precipitation by polygon

Description:
Call accumulated precipitation data by polygon.
API call:

http://api.agromonitoring.com/agro/1.0/weather/history/accumulated_precipitation

Parameters:

appid Personal API key

polyid ID of polygon

start Start date (unix time, UTC time zone), e.g. start=1483218000

end End date (unix time, UTC time zone), e.g. end=1504213200

Examples of API calls:

http://api.agromonitoring.com/agro/1.0/weather/history/accumulated_precipitation?polyid=5aaa8052cbbbb5000b73ff66&start=1517502031&end=1519834831&threshold=284&appid=bb0664ed43c153aa072c760594d775a7

Example of API response:
[
   {
      "dt":"1517443200",
      "rain":0,
      "count":1
   },
   {
      "dt":"1517529600",
      "rain":0,
      "count":2
   },
   {
      …
   },
   {
      "dt":"1519776000",
      "rain":0,
      "count":28
   }
]
Parameters:
  • dt Date (unix time, UTC time zone)
  • rain Precipitation accumulation indicator, mm
  • count Number of data measurements