Skip to content
Advertisement

Tag: api

Show question from surveygizmo survey using API Python

im using an API to get some responses from surveygizmo. It works, but it is changing the question to [question(1)], [question(2)]… I got the following answer: I need to show the question as it was made. How it is possible to do that? Answer I found the answer. api_version=’v4′ has some limitations, the question text came with api_version=’v5′.

Flask app on Docker: Max retries exceeded with URL

I’m working on a simple Flask app for which I’m using the default template: I’m just calling a dummy function that return and ‘ok’ response: When I call it directly on my machine with the following code: It works without any issue, but if I run it from the docker image I get the following error: ConnectionError: HTTPConnectionPool(host=’localhost’, port=5000): Max

Freshdesk api call returning limited number of tickets

I’m trying to fetch ticket details using requests library of python. Here is the command. But, I’m just getting latest 30 tickets details. I tried changing the date and also tried removing it, but nothing seems to work and everytime only last 30 tickets details are coming. Answer It’s due to pagination limit set by Freshdesk. Refer: https://developers.freshdesk.com/api/#pagination The ‘link’

How to call an API using Python Requests library

I can’t figure out how to call this api correctly using python urllib or requests. Let me give you the code I have now: I’ve even added in the rest of the parameters to the params variable: I get this message back: An internal server error has been logged @ Sun Apr 01 00:03:02 UTC 2018 So I’m not sure

Advertisement