Skip to content

Commit

Permalink
Updating #usage for new changes in code (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushi-droid authored Oct 16, 2022
1 parent b39eebf commit 72922a1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@ pip install audiobook

```python
from audiobook import AudioBook
ab = AudioBook(speed="normal") # argument: Speech-Speed="slow/normal/fast"
# argument: Speech-Speed="slow/normal/fast", volume = 0.0 to 1.0
ab = AudioBook(speed="normal", volume=1.0)

ab.save_audio(file_path, password=None) # save audio file
ab.read_book(file_path, password=None) # listen to the book
# if file is password protected, pass password as argument

ab.save_audio(file_path) # save audio file
ab.read_book(file_path) # listen to the book
ab.create_json_book(file_path) # create json file of the book

ab.get_library() # get all the books in your library
```

## Usages
Expand Down

0 comments on commit 72922a1

Please sign in to comment.