Retrieves a list of available crops.
Example request
Content-Type:
application/json
Authorization:
x-api-key
Example response
Content-Type:
application/json
Calculates a specific crop. The following properties are required:
| cropKey |
The crop to calculate. String Required |
| yieldGoal |
The yield goal. Number Required |
| isImperialMath |
The math preference. True=Imperial/US units. False=Metric units. Boolean Required |
Example request
Content-Type:
application/json
Authorization:
x-api-key
Body:
In this example, "ww" refers to the crop "Wheat (winter) grain".
Example response
Content-Type: application/json
This example uses the Python library PlantNutritionNurdConnect.
It contains methods to access the API.
In this example, a crop calculation is hard-coded for "ws", with a yield goal of 2.5, and Metric
math.
In this example, a list of available crops is returned from the API. The user is prompted for a crop, and yield goal. The results are then displayed.
This download includes: PlantNutritionNurdConnect.py