Returns the immediate children of a taxon in the classification hierarchy. Use this to browse the taxonomic tree (e.g., genera within a family, species within a genus).
import requests
resp = requests.get("https://api.catalogueoflife.org/dataset/3LR/tree/C3K84/children")
data = resp.json()
import zingu_apis
api = zingu_apis.api("catalogueoflife")
result = api.fetch("dataset/{datasetKey}/tree/{id}/children")
for item in result:
print(item)
const resp = await fetch("https://api.catalogueoflife.org/dataset/3LR/tree/C3K84/children");
const data = await resp.json();