--- /dev/null
+# Stubs for requests.api (Python 3)\r
+\r
+import sys\r
+from typing import Optional, Union, Any, Iterable, Mapping, MutableMapping, Tuple, IO, Text\r
+\r
+from .models import Response\r
+\r
+if sys.version_info >= (3,):\r
+ _Text = str\r
+else:\r
+ _Text = Union[str, Text]\r
+\r
+_ParamsMappingValueType = Union[_Text, bytes, int, float, Iterable[Union[_Text, bytes, int, float]]]\r
+_Data = Union[\r
+ None,\r
+ _Text,\r
+ bytes,\r
+ MutableMapping[str, Any],\r
+ MutableMapping[Text, Any],\r
+ Iterable[Tuple[_Text, Optional[_Text]]],\r
+ IO\r
+]\r
+\r
+def request(method: str, url: str, **kwargs) -> Response: ...\r
+def get(url: Union[_Text, bytes],\r
+ params: Optional[\r
+ Union[Mapping[Union[_Text, bytes, int, float], _ParamsMappingValueType],\r
+ Union[_Text, bytes],\r
+ Tuple[Union[_Text, bytes, int, float], _ParamsMappingValueType],\r
+ Mapping[_Text, _ParamsMappingValueType],\r
+ Mapping[bytes, _ParamsMappingValueType],\r
+ Mapping[int, _ParamsMappingValueType],\r
+ Mapping[float, _ParamsMappingValueType]]] = ...,\r
+ **kwargs) -> Response: ...\r
+def options(url: _Text, **kwargs) -> Response: ...\r
+def head(url: _Text, **kwargs) -> Response: ...\r
+def post(url: _Text, data: _Data=..., json=..., **kwargs) -> Response: ...\r
+def put(url: _Text, data: _Data=..., json=..., **kwargs) -> Response: ...\r
+def patch(url: _Text, data: _Data=..., json=..., **kwargs) -> Response: ...\r
+def delete(url: _Text, **kwargs) -> Response: ...\r