bridge.services.biotools.biotools_ingestor module

bridge.services.biotools.biotools_ingestor module#

Async client for the bio.tools API. Fetches a Tool entry by ID and returns raw JSON consumed by the bio.tools builder.

class bridge.services.biotools.biotools_ingestor.BiotoolsIngestor(biotools_id)[source]#

Bases: Ingestor

Ingest metadata from bio.tools ID via the bio.tools REST API.

Parameters:

biotools_id (str) – The bio.tools identifier for the tool to fetch.

async fetch()[source]#

Fetch the bio.tools entry for the specified tool ID.

Returns:

JSON metadata for the bio.tools entry.

Return type:

dict