biotite.database.pubchem.InchiKeyQuery¶
- class biotite.database.pubchem.InchiKeyQuery(inchi_key)[source]¶
Bases:
Query
A query that searches for compounds with a given International Chemical Identifier (InChI) key.
- Parameters
- inchi_keystr
The InChI key.
Examples
>>> print(search(InchiKeyQuery("IJDNQMDRQITEOD-UHFFFAOYSA-N"))) [7843]
- get_files()¶
Get the POST file payload for this query.
- Returns
- paramsdict (str -> object)
The file payload.
- get_input_url_path()¶
Get the input part of the request URL.
- Returns
- get_input_url_pathstr
The input part of the request URL. Must not contain slash characters at the beginning and end of the string.
- get_params()¶
Get the POST payload for this query.
- Returns
- paramsdict (str -> object)
The payload.