All Questions
4,436
questions
0
votes
0
answers
27
views
Python script to fetch zip codes within a radius fails to populate CSV correctly
I am trying to write a Python script that reads a CSV file with zip codes, fetches zip codes within a radius using an API, and then populates the results into a new column in the CSV. The API requests ...
1
vote
1
answer
11
views
AWS Elemental Live - Querying API returns the GUI Interface
I'm attempting to query the AWS Elemental Live REST API using a Python script. I am using a generated header as described in the API documentation that allows me to authenticate and send the request, ...
0
votes
0
answers
24
views
running python rest server in mojo
Since python rest server would be running in mojo and not in cpython we could get multithreading and not be worried about gil is this assumption correct? if anyone tried this combination do share ...
1
vote
1
answer
40
views
Reduce Flask-API downtime in IIS
I'm using waitress to serve a Flask Python API in IIS 10.0, with the purpose of serving endpoints for reverse image searching.
The initial part the script deals with importing a number of large files, ...
0
votes
0
answers
12
views
Python Flask Reqparse failing to return help message on bad request
I am building a simple API and using reqparse to parse the args on a post request as follows:
reservation_post_args = reqparse.RequestParser()
reservation_post_args.add_argument('property_id', type=...
0
votes
0
answers
37
views
Coinbase Advance Trading API returns "Error: account not available" when placing orders
For the past while I have been trying to get this crypto trading bot to work. The problem is that while I can get/list accounts when I place an order I get a 400 error.
The code:
def place_order(...
0
votes
2
answers
33
views
Ignoring request for not matching predefined routes
I have some Sanic Python app code where following routes are defined:
def create_inspector(app):
inspector = Sanic(configure_logging=False)
inspector.config['KEEP_ALIVE'] = False
...
0
votes
1
answer
51
views
How to make a script to automate taking the GET data from my wordpress site and POST to another server
I have this problem and I'm a newbie of REST API world. I have a Wordpress site in which I sell CD Albums, and I have to take every orders of the day and send some specific data (like the bardcode/ean,...
0
votes
3
answers
170
views
Using REST API in Python to run Workflows in Azure Purview
We are trying to use Purview REST APIs to make a user request that should be able to trigger a Purview workflow run. The workflow should trigger whenever the user is trying to update an asset, for ...
0
votes
0
answers
28
views
Log REST API calls in Python
I am working on a data processing task in an enterprise environment with Python3 installed on a client-side Windows Jump server.
The data, which I need to download regularly from a third-party ...
-2
votes
2
answers
206
views
TryAPL API APL script loads endlessly without returning any error message [closed]
I am following the instructions in the APL Wiki (https://aplwiki.com/wiki/TryAPL#API). The examples are in what looks like a C-family language or maybe Java. I am using Python.
The script below doesn'...
0
votes
0
answers
34
views
How to Make API Calls at Prescheduled Timestamps Based on a SQL Table in Python?
Context
I have a table in an SQL database looking like this.
The goal is to call an api endpoint with the Item id, at the scheduled time, to get the price of the item at that point (the prices are ...
0
votes
0
answers
29
views
REST API to integrate SOAR with BMC Remedy
We've been trying for weeks to integrate IBM SOAR with BMC Remedy to no avail. We keep getting an error 500.
This is the playbook in IBM SOAR:
The problem is on the second "Call REST API" ...
1
vote
0
answers
38
views
MiddlewareMixin.__init__() missing 1 required positional argument: 'get_response'
I have created a custom django middleware and decorator to authenticate the RESTful API that I am developing. Here is the code of the middleware that I have developed:
# myproject/middleware.py
...
0
votes
1
answer
50
views
Downloading REST data which contains date_time attributes
I am attempting to download data from ArcGIS REST services in ArcGIS Pro using custom geometry. After some help, I've managed to get this to work and save the data as a shapefile. The data I'm ...