hestia_earth.utils.api.find_node

hestia_earth.utils.api.find_node(node_type, args, limit=10)[source]

Finds nodes on the Hestia Platform.

Parameters
  • node_type (SchemaType) – The @type of the Node.

  • args (dict) – Dictionary of key/value to exec search on. Example: use {‘bibliography.title’: ‘My biblio’} on a SchemaType.Source to find all Source`s having a `bibliography with title == My biblio

  • limit – Optional - limit the number of results to return. Defaults to 10.

Returns

List of Nodes (as JSON) found.

Return type

List[JSON]