Skip to content
Myr

api.rst

This file

Path

docs/api.rst

66 lines · 1.3 KiB

Last changed by

api updateKenneth Reitzbefore adoption7929bb9

History of this file

Take 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 5 methods. They17all return a :class:`Response <models.Response>` object.1819.. autofunction:: get20.. autofunction:: post21.. autofunction:: put22.. autofunction:: delete23.. autofunction:: head2425-----------262728.. autoclass:: requests.models.Response29   :inherited-members:303132Exceptions33----------3435.. autoexception:: HTTPError3637.. autoexception:: RequestException3839.. autoexception:: requests.models.AuthenticationError40.. autoexception:: requests.models.URLRequired41.. autoexception:: requests.models.InvalidMethod424344Internals45---------4647These 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: