Requests package¶
Requests.get_distro_csv module¶
The get_distro_csv module: Amt Distribution HTTP Request.
Provides the application with functionality to make a HTTP request to the NCTS server, to download the AMT distribution CSV.
- Src.Requests.get_distro_csv.get_distro_csv(url, token)[source]¶
Sends a HTTP request to the provided NCTS URL in order to retrieve the data distribution CSV.
- Parameters:
url (str) – The NCTS API URL to import the distribution from
token (str) – NCTS API client authentication token
- Returns:
The HTTP requests response
- Return type:
Response
Requests.get_distro_meta module¶
The get_distro_meta module: Amt Distribution meta HTTP Request.
Provides the application with functionality to make a HTTP request to the NCTS server, to retrieve metadata on all available distribution imports.
Requests.post_ncts_auth module¶
The post_ncts_auth module: NCTS Authentication HTTP Request.
Provides the application with functionality to make a HTTP request to the NCTS server in-order to retrieve an authentication token.