This Flask application interacts with the Open Library API to retrieve information about books, authors, and works.
- Python 3.x
- Pip
- (Optional) Virtual environment (recommended)
-
Clone the repository:
git clone https://github.com/t7spotter/openlib.git
-
Run it with Docker! (expose 5000 to appropriate Port)
-
The application will be accessible at http://127.0.0.1:5000/ (At the port that you chose.)
-
/ok: If everything is okay it returns ypu "hello world!"
-
/title/<title>: Fetches information about books based on the provided title.
-
/author/<author_id>: Retrieves details about an author using the provided author ID.
-
/works/path:next: Retrieves information about works based on the provided path and offset.
-
/authorworks/<author_id>: Fetches information about works authored by a specific author identified by the provided author ID.
-
/isbn/: Fetches details about a book using the provided ISBN.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.