hestia_earth.utils.download_hestia

hestia_earth.utils.download_hestia(node_id, node_type=<SchemaType.TERM: 'Term'>, mode='')[source]

Download a Node from the Hestia Database.

Parameters
  • node_id (str) – The @id of the Node.

  • node_type – The @type of the Node.

  • mode – Optional - use csv to download as a CSV file, zip to download as a ZIP file. Defaults to JSON.

Returns

The JSON content of the Node.

Return type

JSON