Final save before Thanksgiving holiday! Blacklane has been completed. Some small scripts were updates. Downloaded new - but error prone - SPS templates.
This commit is contained in:
Binary file not shown.
10
Scripts/API_Tests/get-groups-filtering.py
Normal file
10
Scripts/API_Tests/get-groups-filtering.py
Normal file
@ -0,0 +1,10 @@
|
||||
import Apikeys
|
||||
import requests
|
||||
|
||||
company = "EJP"
|
||||
url = f"https://api.northpass.com/v2/groups?filter[name][eq]={company}"
|
||||
apikey = Apikeys.DATASNIPPER
|
||||
headers = {"X-Api-Key":apikey}
|
||||
|
||||
response = requests.get(url, headers=headers)
|
||||
print(response.text)
|
||||
Reference in New Issue
Block a user