drugforge.data.services.cdd.cdd_download.download_url
- drugforge.data.services.cdd.cdd_download.download_url(search_url, header, vault=None, timeout=5000, retry_delay=10)[source]
Make requests to the API using the passed information.
- Parameters:
search_url (string) – URL for the initial GET request
header (dict) – Header information passed to GET request. Must contain an entry for ‘X-CDD-token’ that gives the user’s CDD API token
timeout (int, default=5000) – Timeout (in seconds)
retry_delay (int, default=10) – Delay between retry status (in seconds)
- Returns:
Response object from the final export GET request
- Return type:
requests.Response