About 257,000 results
Open links in new tab
  1. rest - Making a request to a RESTful API using Python - Stack …

    Assuming the API returns a JSON, parse the JSON object into a Python dict using json.loads function Loop through the dict to extract information. Requests module provides you useful …

  2. How to make a simple Python REST server and client?

    Mar 5, 2020 · I'm attempting to make the simplest possible REST API server and client, with both the server and client being written in Python and running on the same computer. From this …

  3. Python request with authentication (access_token)

    Dec 12, 2012 · I am trying to use an API query in Python. From the command line I can use curl like so: curl --header "Authorization:access_token myToken" https://website.example/id This …

  4. How to loop through paginated API using python

    May 19, 2019 · I need to retrieve the 500 most popular films from a REST API, ... REST API using requests in python. 0.

  5. Making an API call in Python with an API that requires a bearer token

    Apr 29, 2015 · The API guidance states that a bearer token must be generated to allow calls to the API, which I have done successfully. However I am unsure of the syntax to include this …

  6. Python, HTTPS GET with basic authentication - Stack Overflow

    Aug 9, 2011 · In Python 3 the following will work. I am using the lower level http.client from the standard library. Also check out section 2 of rfc2617 for details of basic authorization.

  7. How can I get an oauth2 access_token using Python

    Apr 19, 2016 · I have already tried several Python packages and some custom code, but somehow this seemingly simple task starts to create a real headache. One exemple I tried:

  8. How to do a HTTP DELETE request with Requests library

    I'm using the requests package for interacting with the toggl.com API. I can perform GET and POST requests: payload = {'some':'data'} headers = {'content-type': 'application/json'} u...

  9. how to use github api token in python for requesting

    Jul 13, 2013 · I'm able to obtain Github api token in python using username and password but i'm not able to use that API-Token for requesting any POST/DELETE/PATCH.

  10. How can I create a new page to confluence with Python

    Oct 16, 2015 · As it seems that the already given answers are a bit outdated and/or working for confluence server only, I will post here my working script for confluence cloud using the REST …