Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Books Api #2

Open
MaximilianMauroner opened this issue Feb 16, 2023 · 1 comment
Open

Implement Books Api #2

MaximilianMauroner opened this issue Feb 16, 2023 · 1 comment
Assignees

Comments

@MaximilianMauroner
Copy link
Collaborator

MaximilianMauroner commented Feb 16, 2023

According to the web, there is no definitive answer to which API is easiest to work with TypeScript, as it may depend on your personal preference and project requirements. However, here are some factors that may help you decide:

  • The Open Library Books API¹² provides a programmatic client-side method for querying information of books using Javascript¹, which is a superset of TypeScript. This means you can use TypeScript features such as types, classes and modules with this API. However, you may need to install some type definitions or use a tool like jsdoc to get better code completion and error checking³.
  • The Google Books API offers a number of client libraries for different programming languages, including TypeScript. This means you can use the Google API client library for TypeScript to access the Books API with ease. However, you may need to register for an API key and follow some usage limits.
  • The RapidAPI Book Collection does not seem to have any specific support for TypeScript, but it does offer some code snippets for Javascript and other languages that you can use as a reference. You may also need to sign up for an account and choose a pricing plan depending on the API you want to use.

I hope this helps. 😊

Source: Conversation with Bing, 16/02/2023(1) Developer Center / APIs / Books API | Open Library. https://openlibrary.org/dev/docs/api/books Accessed 16/02/2023.
(2) Developer Center / APIs | Open Library. https://openlibrary.org/developers/api Accessed 16/02/2023.
(3) Libraries and Samples | Google Books APIs | Google Developers. https://developers.google.com/books/docs/v1/libraries Accessed 16/02/2023.

@MaximilianMauroner
Copy link
Collaborator Author

Hello, this is Bing. According to the web, web scraping is a technique of extracting data from websites using various tools and methods². There are some ways to use web scraping to get data from Goodreads, such as:

  • You can use the Goodreads data scraper¹, which is a tool that can scrape books and reviews from Goodreads based on keywords, lists, shelves, genres or book details. You can use it online or download it as an actor on Apify platform¹.
  • You can also use Python²³⁴, which is a programming language that has many libraries and modules for web scraping, such as BeautifulSoup, Requests, Scrapy and Selenium. You can write your own script or use existing ones to scrape data from Goodreads using Python³⁴.

I hope this helps. 😊

Source: Conversation with Bing, 16/02/2023(1) Web Scraping with Python: Collecting Data from the Modern Web - Goodreads. https://www.goodreads.com/book/show/25752783-web-scraping-with-python Accessed 16/02/2023.
(2) How to scrape Goodreads books and reviews | Apify Blog. https://blog.apify.com/how-to-scrape-books-and-reviews-from-goodreads-without-using-api/#:~:text=The%20Goodreads%20data%20scraper%20supports%20the%20following%20features%3A,very%20detailed%20information%20for%20each%20book.%20Altri%20elementi Accessed 16/02/2023.
(3) GitHub - maria-antoniak/goodreads-scraper: A Python scraper for .... https://github.com/maria-antoniak/goodreads-scraper Accessed 16/02/2023.
(4) Data Scraping Goodreads using Python BeautifulSoup - Medium. https://medium.com/mlearning-ai/data-scraping-goodreads-using-python-beautifulsoup-3f4f16960255 Accessed 16/02/2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants