Metadata-Version: 2.1
Name: yaar
Version: 0.3.3
Summary: Yet Another Asyncio Requets
Author: Juca Crispim
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Unix
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown

Yet Another Asyncio Requests

Install and usage are as expected. To install:

```sh
$ pip install yaar
```

And then the usage:

```python
import yaar

response = await yaar.get(url)
print(response.status, response.text)
print(response.json())


# send a json in the request body
response = await yaar.post(url, json={"some": "json"})
print(response.status)
```

To send headers in your request use:

```python
response = await yaar.get(url, headers={'Authentication': 'bearer} XYZ')
```

Here you have all usual the methods like ``put``, ``delete``, etc..

In case you need a custom session you can use:

```python
session = aiohttp.ClientSession(loop=loop)
response = await yaar.get(url, session=session)
```
