pygtop.gtop (GtoP Interface)¶
Functions for interacting with the Guide to PHARMACOLOGY web services.
Issues a query to the GtoP web services, and returns the resulting JSON.
If it does not get a valid response, it will try again, and if it still doesn’t get JSON back, it will return None.
- query (str) – The query to append to the base URL.
- attempts (int) – The number of attempts to make before giving up (default is 5).
JSON object or None