Linkage - perreaultcourtney/NBIFsummer_projects GitHub Wiki
Requests Module resource: https://www.w3schools.com/python/module_requests.asp
- import requests
Endpoint properties
Attributes | Type |
---|---|
applicant | object |
first_name | string |
last_name | string |
string | |
id | integer |
average_score | number |
collaborators | array of object |
first_name | string |
last_name | string |
id | integer |
created_at | string |
current_stage | object |
title | string |
id | integer |
custom_fields | array of object |
id | integer |
name | string |
value | string |
last_submitted_at | string |
decision | object |
id | integer |
decision | integer (0 = awarded, 1 = declined) |
award | |
organization | object |
id | integer |
name | string |
overall_score | number |
program | object |
id | integer |
name | string |
reference_id | string |
state | integer (see note for values) |
title | string |
updated_at | string |
weighted_score | number |
NOTE: values for state are as follows
Integer | State |
---|---|
0 | Active |
1 | Locked |
2 | Hidden |
3 | Archived |
4 | Trashed |
EDIT: Plan is to use date from custom fields to then post a custom fields value that triggers automation to send an email.
- get(<url>)
return: Response Object (has its own methods and attributes)
https://www.dataquest.io/blog/python-api-tutorial/
https://docs.python-requests.org/en/master/
https://pypi.org/project/requests/