semvec/pypi-packages huggingface dataset:
pyrpan 1.3.0
An API wrapper for interacting with the RPAN API.
License: MIT
Requires Python: >=3.10,<4.0

<p>
<a href="https://pypi.org/project/PyRPAN">
    <img height="20" alt="PyPI version" src="https://img.shields.io/pypi/v/PyRPAN">
</a>

<a href="https://pypi.org/project/flake8/">
    <img height="20" alt="Flake badge" src="https://img.shields.io/badge/code%20style-flake8-blue.svg">
</a>

<a href="https://pypistats.org/packages/PyRPAN">
    <img height="20" alt="Stats Badge" src="https://img.shields.io/pypi/dm/PyRPAN">
</a>

<a href="https://github.com/b1uejay27/PyRPAN/blob/main/LICENSE">
    <img height="20" alt="Stats Badge" src="https://img.shields.io/github/license/RPANBot/PyRPAN">
</a>

<a href="https://github.com/b1uejay27/PyRPAN/stargazers">
    <img height="20" alt="Stats Badge" src="https://img.shields.io/github/stars/RPANBot/PyRPAN">
</a>

</p>

### About

PyRPAN is an async API wrapper made in Python for the Reddit Public Access Network (RPAN), which is Reddit's streaming service.

### Example

```Python
import asyncio

from pyrpan import PyRPAN

rpan = PyRPAN(client_id='client id here', client_secret='client secret here')

async def main():
    broadcasts = await rpan.get_broadcast(id='stream id here')  
    print(broadcast.url)

    await rpan.close()

asyncio.run(main())
```

### Links
**Source Code**: https://github.com/RPANBot/PyRPAN<br>
**PyPi**: https://pypi.org/project/PyRPAN<br>