Agronomy
Through this endpoint you can obtain a list of each soil and cultivar that each of the crops has. This endpoint is used through the Http GET method.
To make use of this endpoint you must follow the following steps:
This endpoint is made up of the base_URL + /api + /Agronomic/ (https://webapi.aclimate.org/api/Agronomic/)
This endpoint needs two parameters:
cultivar: Boolean giving additional information if true such as cultivar rainfed and cultivar national.
format: to learn more about format parameter click here format.
The endpoint must follow the following format https://webapi.aclimate.org/api/Agronomic/{cultivar}/{format}
Examples:
Parameter |
Description |
Type |
|---|---|---|
cp_id |
It is the id of the crop. |
ObjectId |
cp_name |
It is the name of the crop. |
String |
soils |
It is a list of the crop soils, to learn more click here Soil. |
Array of Soils |
cultivars |
It is a list of the crop cultivars, to learn more click here Cultivar. |
Array of Cultivars |
Parameter |
Description |
Type |
|---|---|---|
id |
It is the Id of the soil. |
ObjectId |
name |
It is the name of the soil. |
String |
country_id |
It is the country id of the country to which the soil belongs. |
ObjectId |
Parameter |
Description |
Type |
|---|---|---|
id |
It is the Id of the cultivar. |
ObjectId |
name |
It is the name of the cultivar. |
String |
rainfed |
indicates whether the cultivar is rainfed or irrigated. |
Bool |
national |
indicates whether the material is national or imported. |
Bool |
country_id |
It is the country id of the country to which the cultivar belongs. |
ObjectId |
JSON format example:
CSV format example: