Simple wrapper for pyLoad's API.
Project description
PyLoadAPI
Simple wrapper for pyLoad's API.
This module provides a simplified interface (PyLoadAPI class) to interact with pyLoad's API using aiohttp for asynchronous HTTP requests. It handles login authentication and provides methods to perform various operations such as pausing downloads, restarting pyLoad, retrieving status information, and more.
📖 Documentation
- Full Documentation: https://tr4nt0r.github.io/pyloadapi
- Source Code: https://github.com/tr4nt0r/pyloadapi
📦 Installation
You can install PyLoadAPI via pip:
pip install PyLoadAPI
🚀 Usage
Basic Example
import asyncio
from pyloadapi import PyLoadAPI
async def main():
async with PyLoadAPI("http://localhost:8000", "username", "password") as api:
status = await api.status()
print(status)
asyncio.run(main())
More Examples
Pause Downloads
await api.pause(True) # Pause all downloads
Resume Downloads
await api.pause(False) # Resume all downloads
Restart pyLoad
await api.restart()
For more advanced usage, refer to the documentation.
🛠 Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Submit a pull request.
Make sure to follow the contributing guidelines.
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
❤️ Support
If you find this project useful, consider buying me a coffee ☕ or sponsoring me on GitHub!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyloadapi-2.1.0.tar.gz.
File metadata
- Download URL: pyloadapi-2.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0ba983705fa72b671c1b19733a21d1262fd463299d80533069bde98bd3ed34d
|
|
| MD5 |
2143a1305b78cf110d9d353c0dc7a745
|
|
| BLAKE2b-256 |
522036ef5969275dcf55fc2a0dc500b94306537fe6836a22ca6d19b5592c5ce6
|
File details
Details for the file pyloadapi-2.1.0-py3-none-any.whl.
File metadata
- Download URL: pyloadapi-2.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: Hatch/1.16.5 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28e0e76951a2c06d1276332c1b75d4240f96ffd0df30a1b3558aa76e8aa76d6
|
|
| MD5 |
ae4da87eb508194ffd840e95637f6ac2
|
|
| BLAKE2b-256 |
3888966007677d6356eb6194d6663035f0889f92885681af3dd9a605860880e0
|