Module Expr Str ImportFrom alias FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str With Call AttributeLoad NameLoad attr NameStore body Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Str NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Return Call NameLoad Str NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call NameLoad Str NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call NameLoad Str NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad Str NameLoad NameLoad decorator_list
N/A N/A 
requests.api
~~~~~~~~~~~~

This module implements the Requests API.

:copyright: (c) 2012 by Kenneth Reitz.
:license: Apache2, see LICENSE for more details.

 N/A sessions request N/A N/A method url N/A kwargs N/A N/A Constructs and sends a :class:`Request <Request>`.

    :param method: method for the new :class:`Request` object.
    :param url: URL for the new :class:`Request` object.
    :param params: (optional) Dictionary or bytes to be sent in the query string for the :class:`Request`.
    :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
    :param json: (optional) json data to send in the body of the :class:`Request`.
    :param headers: (optional) Dictionary of HTTP Headers to send with the :class:`Request`.
    :param cookies: (optional) Dict or CookieJar object to send with the :class:`Request`.
    :param files: (optional) Dictionary of ``'name': file-like-objects`` (or ``{'name': ('filename', fileobj)}``) for multipart encoding upload.
    :param auth: (optional) Auth tuple to enable Basic/Digest/Custom HTTP Auth.
    :param timeout: (optional) How long to wait for the server to send data
        before giving up, as a float, or a :ref:`(connect timeout, read
        timeout) <timeouts>` tuple.
    :type timeout: float or tuple
    :param allow_redirects: (optional) Boolean. Set to True if POST/PUT/DELETE redirect following is allowed.
    :type allow_redirects: bool
    :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.
    :param verify: (optional) whether the SSL cert will be verified. A CA_BUNDLE path can also be provided. Defaults to ``True``.
    :param stream: (optional) if ``False``, the response content will be immediately downloaded.
    :param cert: (optional) if String, path to ssl client cert file (.pem). If Tuple, ('cert', 'key') pair.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response

    Usage::

      >>> import requests
      >>> req = requests.request('GET', 'http://httpbin.org/get')
      <Response [200]>
     N/A N/A N/A sessions Session session N/A N/A N/A N/A session request method method url url kwargs N/A get N/A N/A url params N/A None kwargs N/A N/A Sends a GET request.

    :param url: URL for the new :class:`Request` object.
    :param params: (optional) Dictionary or bytes to be sent in the query string for the :class:`Request`.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A N/A kwargs setdefault allow_redirects True N/A N/A request get url params params kwargs N/A options N/A N/A url N/A kwargs N/A N/A Sends a OPTIONS request.

    :param url: URL for the new :class:`Request` object.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A N/A kwargs setdefault allow_redirects True N/A N/A request options url kwargs N/A head N/A N/A url N/A kwargs N/A N/A Sends a HEAD request.

    :param url: URL for the new :class:`Request` object.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A N/A kwargs setdefault allow_redirects False N/A N/A request head url kwargs N/A post N/A N/A url data json N/A None None kwargs N/A N/A Sends a POST request.

    :param url: URL for the new :class:`Request` object.
    :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
    :param json: (optional) json data to send in the body of the :class:`Request`.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A request post url data data json json kwargs N/A put N/A N/A url data N/A None kwargs N/A N/A Sends a PUT request.

    :param url: URL for the new :class:`Request` object.
    :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A request put url data data kwargs N/A patch N/A N/A url data N/A None kwargs N/A N/A Sends a PATCH request.

    :param url: URL for the new :class:`Request` object.
    :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A request patch url data data kwargs N/A delete N/A N/A url N/A kwargs N/A N/A Sends a DELETE request.

    :param url: URL for the new :class:`Request` object.
    :param \*\*kwargs: Optional arguments that ``request`` takes.
    :return: :class:`Response <Response>` object
    :rtype: requests.Response
     N/A N/A request delete url kwargs N/A