Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Architecture flow diagram https://app.diagrams.net/#G1Ie3Bpw6WkaE46YUQJKFQ0zsaDcHAkv-f

Expected List of files:

This link have the expected outcome files from SatSure

Lref box file
urlhttps://digitalgreen.app.box.com/folder/156727811173?s=h4243qm3vq2x1chahb18w0930fzssvbd
.

Prerequisites :

To access and fetch data from SatSure below values should be available.

  • API Key

  • country_id

  • state_id

  • district_id

  • crop_id

  • start_date

  • end_date

Missing:

  • Yield estimation is a premium dataset which is not available in SatSure API.

Crop acreage, Rainfall, rainfall, harvest Harvest, Yield Estimation and Yield and temp data are good to proceed.

API’s to fetch data:

As we already know the country, districts, date range and crop(gram) we can keep the country, state, districts, date_range and crop id’s will be static.

To API path to fetch sub-districts “/product/country/{country_id}/state/{state_id}/district/{district_id}/sub-district”.

  • Input parameters country_id, state_id and district_id

To API path to fetch village id “/product/country/{country_id}/state/{state_id}/district/{district_id}/sub-district/{subdistrict_id}/village“.

  • Input parameters country_id, state_id, district_id and village_id

To API path to fetch product(Acreage, Rainfall, harvest and temp) details API: “/product/{product_id}“.

...

  • start_date : 2021-10-01

  • ens_date: 2022-03-31

Connectors:

IDSCP2 web socket will be used to send data securely from provider core to consumer core.

  • Provider connector

  • Consumer connector

...