This Python script interacts with an audiobook API to perform the following functionalities:
- Get Book Details: Retrieves information about a specific book including its chapters and audio URLs.
- Search Books: Searches for books based on a provided category ID.
Before running the script, ensure you have the following dependencies installed:
requestscolorama
You can install them using pip:
pip3 install requests colorama-
Getting Book Details:
- Run the script and choose option '2'.
- Enter the book ID when prompted.
-
Searching Books:
- Run the script and choose option '1'.
- Enter the category ID when prompted.
This script is intended for educational purposes only. Any use of this script for commercial or malicious purposes is prohibited.
Please ensure that you have the legal right to access and use the audiobook API according to its terms of service and any applicable laws in your jurisdiction.
This script was created for educational purposes. It interacts with an audiobook API provided by the will power myanmar . Any trademarks, logos, or content accessed through this script are the property of their respective owners.
- get_book(): Fetches details of a specific book.
- search_book(): Searches for books based on a category ID.
- create_banner(): Displays a colorful banner.
Here is a sample usage of the script:
python3 free_book.pyFollow the on-screen prompts to interact with the API.
- Author: Mg Aether
- Contact: NONE
- API Provider: The Will Power Myanmar