Skip to content

Repository files navigation

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.

buildcodecovPyPI versionGitHub Sponsor


📖 Documentation


📦 Installation

You can install PyLoadAPI via pip:

pip install PyLoadAPI

🚀 Usage

Basic Example

importasynciofrompyloadapiimportPyLoadAPIasyncdefmain():
asyncwithPyLoadAPI("http://localhost:8000", "username", "password") asapi:
status=awaitapi.status()
print(status)
asyncio.run(main())

More Examples

Pause Downloads
awaitapi.pause(True) # Pause all downloads
Resume Downloads
awaitapi.pause(False) # Resume all downloads
Restart pyLoad
awaitapi.restart()

For more advanced usage, refer to the documentation.


🛠 Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. 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!

About

Simple wrapper for pyLoad's API.

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages