api.rst
This file
Path
docs/api.rst
57 lines · 1.2 KiB
Last changed by
doc cleanupsKenneth Reitzbefore adoption0c21aa5
History of this fileTake it
1.. _api:23API4===56.. module:: requests78This 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.111213Main Interface14--------------1516All of Request's functionality can be accessed by these 6 methods. They17all return a :class:`Response <models.Response>` object.1819.. autofunction:: head20.. autofunction:: get21.. autofunction:: post22.. autofunction:: put23.. autofunction:: patch24.. autofunction:: delete25.. autofunction:: request2627-----------282930.. autoclass:: requests.models.Response31 :inherited-members:323334Exceptions35----------3637.. autoexception:: HTTPError3839.. autoexception:: RequestException4041.. autoexception:: requests.models.AuthenticationError42.. autoexception:: requests.models.URLRequired43.. autoexception:: requests.models.InvalidMethod444546Internals47---------4849These items are an internal component to Requests, and should never be50seen by the end user (developer). This part of the API documentation51exists for those who are extending the functionality of Requests.5253Classes54~~~~~~~5556.. autoclass:: requests.models.Request57 :inherited-members: