biocypher._get.APIRequest
- class biocypher._get.APIRequest(name: str, url_s: str | list[str], lifetime: int = 0)
- __init__(name: str, url_s: str | list[str], lifetime: int = 0)
Represents basic information for an API Request.
- Parameters:
name (str) – The name of the API Request.
url_s (str|list) – The URL of the API endpoint.
lifetime (int) – The lifetime of the API Request in days. If 0, the API Request is cached indefinitely.
Methods
__init__
(name, url_s[, lifetime])Represents basic information for an API Request.