api

Implementing REST API digital signature

Implementing REST API digital signature Question: I’m currently trying to implement a minimal REST API with digital signature. I understand that the underlying concept is that the sender sign the payload with its private key using HMAC and that the receiver verify this signature with the public key. However I have some difficulties implementing a …

Total answers: 1

How to get company earning announcements data api?

How to get company earning announcements data api? Question: I want to get real-time earning annoouncements data api. I tried yfinance but it doesn’t work currently. So is there any other replacement api? Most of API need to pay money, But I just want to try for my personal projects so it’s little pressured Does …

Total answers: 1

Obtaining information from a list/dict in Python

Obtaining information from a list/dict in Python Question: I understand this question may have been asked in many different formats in the past. I also checked the recommended answers when I wrote the question title, and I haven’t found what I need. I’m new to Python so my understanding of lists and dictionaries is slowly …

Total answers: 2

Is that possible to retrieve historical fees for crypto transactions?

Is that possible to retrieve historical fees for crypto transactions? Question: I know that it should be possible to find such data for bitcoin, but what I want is somewhat unified solution. E.g. I give a network name and timestamp – and receive something like average transaction fees for this network at that time. I …

Total answers: 1

Cache errors using Spotify API in Python program

Cache errors using Spotify API in Python program Question: I am running into a problem with my Python script. The code executes, but after it displays a caching error: Couldn’t read cache at: .cache Couldn’t write token to cache at: .cache Couldn’t read cache at: .cache Couldn’t write token to cache at: .cache Couldn’t read …

Total answers: 2

Download files from a public S3 bucket

Download files from a public S3 bucket Question: I’m trying to download some files from a public s3 bucket as part of the Google Analytics course. However, I am not getting the links returned in my request. I’m not sure if I need to use boto3 or a different API package since it’s a public …

Total answers: 3

I want to connect to an api and extract the data

I want to connect to an api and extract the data Question: I’m doing my own python analytics project on compiling and analysing data from this open-data source: (https://data.gov.ie/dataset?q=homeless&api=true&sort=score+desc%2C+metadata_created+desc&theme=Housing) I’ve never worked with api’s or json’s before.. all the info on google or YouTube video’s always have an API key.. but I don’t know how …

Total answers: 2

Select specific values from JSON output

Select specific values from JSON output Question: I am querying a REST API and I need to select 2 fields from the adapter output below. I basically need to make variables from OUT_Detailed Description and OUT_Vendor Ticket Number: Code: headers = {‘content-type’: ‘application/json’, ‘Authentication-Token’: authToken} response = requests.post(‘http://dev.startschools.local:2031/baocdp/rest/process/:ITSM_Interface:IncidentManagement:QueryIncident/execute’, headers=headers, data=json.dumps(get_query_inc_json())) print(response.text) json_format = json.loads(response) Description …

Total answers: 2

Can I automate discord actions with python?

Can I automate discord actions with python? Question: I want to set up a python script that runs automatically in some situations which opens different programs and among other things joins my main discord voice channel. I figured out most of it, but with discord I am struggling so far. Every tutorial I found is …

Total answers: 1