Disease details - flowerchecker/plant-id-examples GitHub Wiki

In the response to the /identify or /get_identification_result request, there is a list of additional plant disease information that you can specify. Include the strings below in the list of disease_details parameters.

For example, if you want to get the common names, description and URL of the suggested plant diseases, your request should be: "disease_details": ["common_names", "url", "description"].

All provided details are in English. If you are interested in another language, let us know at [email protected].

Be aware that not all details are available for each disease!

Plant.id API provide following plant details:

Cause

"disease_details": ["cause"]

A string with the scientific name of the cause of the disease.

Output example:

"cause": "Thysanoptera",

Common names

"disease_details": ["common_names"]

A list of strings with common names of the disease.

Output example:

"common_names": ["abiotic disorder", "physiological plant disorder"],

Classification

"disease_details": ["classification"]

A list of strings with parent classes in the class hierarchy, sorted from the most general to the most specific.

Output example:

"classification": ["Animalia", "Arachnida"]

Description

"disease_details": ["description"]

A string with the disease description.

Output example:

"description": "Abiotic disorders are not induced by living organisms but by unsuitable environmental conditions, such as drought stress, freeze injury, nutrient deficiency, or improper watering or planting conditions."

Language

A string with a language code. The default is English.

Output example:

 "language":"en"

Local name

A string with a localized name. The default is English.

Output example:

"local_name":"water-related issue"

Treatment

"disease_details": ["treatment"]

A JSON-structured result containing biological treatments, chemical treatments, and prevention for every disease suggestion.

There is data for every disease in our database, but sometimes there are no treatments available. However, there is always at least some information in the prevention category.

Output example:

"treatment":{
    "biological":[
         "If possible ...",
         "Apply ecological..."
         ],
     "chemical":[
         "If necessary, apply..."
         ],
     "prevention":[
         "Use resistant species...",
         "Avoid...",
         "Improve...",
         "Avoid prolonged wetting...",
         "Rotate crops...",
         "Disinfect the tools and..."
     ]
},

URL

"disease_details": ["url"]

The response contains a string with the link to the plant profile page (usually Wikipedia or Google).

Output example:

"url": "https://en.wikipedia.org/wiki/Physiological_plant_disorder"