Accumulated precipitation by geo coordinates

Description:
Call accumulated precipitation data by geo coordinates.
API call:

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

Parameters:

appid - personal API key

lat, lon - coordinates of the location of your interest

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:

https://api.agromonitoring.com/agro/1.0/weather/history/accumulated_precipitation?lat=35&lon=139&start=1517502031&end=1519834831&appid={YOUR_API_KEY}

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