I am looking for an example in python for the following code:
curl --verbose GET
-u apikey: <api_key>
I am working on something that would look like this:
headers = ‘help me’
url = “https://dashboard.hologram.io/api/1/links/cellular?api=” + API + “&limit= 1000”
response = requests.get(url, headers=headers)
This works if I sample cookies in chrome when I log into dashboard and put it in headers, but eventually 404 because of expiration. I am trying to give my api or login info to get any response but I dont know how my request is expected.
Thank you for your help.