api.rst
This file
Path
docs/api.rst
66 lines · 1.3 KiB
Last changed by
api updateKenneth Reitzbefore adoption7929bb9
History of this fileTake it
Big API updateKenneth Reitzbefore adoption6e13e73
lines 1–2why, one step back1.. _api:2api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 3–5why, one step back3API4===5Big API updateKenneth Reitzbefore adoption6e13e73
line 6why, one step back6.. module:: requestsapi.py -> api.rstKenneth Reitzbefore adoption58d5e03
line 7why, one step back7Big API updateKenneth Reitzbefore adoption6e13e73
lines 8–12why, one step back8This part of the documentation covers all the interfaces of Requests. For9parts where Requests depends on external libraries, we document the most10important right here and provide links to the canonical documentation.1112api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 13–15why, one step back13Main Interface14--------------15api updateKenneth Reitzbefore adoption7929bb9
lines 16–18why, one step back16All of Request's functionality can be accessed by these 5 methods. They17all return a :class:`Response <models.Response>` object.18Big API updateKenneth Reitzbefore adoption6e13e73
lines 19–23why, one step back19.. autofunction:: get20.. autofunction:: post21.. autofunction:: put22.. autofunction:: delete23.. autofunction:: headapi updateKenneth Reitzbefore adoption7929bb9
lines 24–26why, one step back2425-----------26api.py -> api.rstKenneth Reitzbefore adoption58d5e03
line 27why, one step back27Big API updateKenneth Reitzbefore adoption6e13e73
lines 28–31why, one step back28.. autoclass:: requests.models.Response29 :inherited-members:3031api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 32–34why, one step back32Exceptions33----------34Big API updateKenneth Reitzbefore adoption6e13e73
line 35why, one step back35.. autoexception:: HTTPErrorapi.py -> api.rstKenneth Reitzbefore adoption58d5e03
line 36why, one step back36Big API updateKenneth Reitzbefore adoption6e13e73
lines 37–43why, one step back37.. autoexception:: RequestException3839.. autoexception:: requests.models.AuthenticationError40.. autoexception:: requests.models.URLRequired41.. autoexception:: requests.models.InvalidMethod4243api.py -> api.rstKenneth Reitzbefore adoption58d5e03
lines 44–45why, one step back44Internals45---------Big API updateKenneth Reitzbefore adoption6e13e73
lines 46–66why, one step back4647These items are an internal component to Requests, and should never be48seen by the end user (developer). This part of the API documentation49exists for those who are extending the functionality of Requests.5051Functions52~~~~~~~~~5354.. autofunction:: request5556Classes57~~~~~~~5859.. autoclass:: requests.models.Request60 :inherited-members:6162Structures63~~~~~~~~~~6465.. autoclass:: requests.structures.CaseInsensitiveDict66 :inherited-members: