{"id":21150775,"url":"https://github.com/gamut73/bookshopbooksapi","last_synced_at":"2025-03-14T14:24:18.706Z","repository":{"id":185423613,"uuid":"613033194","full_name":"Gamut73/BookShopBooksAPI","owner":"Gamut73","description":"Get info on 2nd hand books on bobshop.co.za with the help of the google books api","archived":false,"fork":false,"pushed_at":"2024-05-12T14:11:54.000Z","size":23498,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T08:09:44.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gamut73.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-12T17:39:25.000Z","updated_at":"2024-05-12T14:11:58.000Z","dependencies_parsed_at":"2024-01-11T16:52:09.115Z","dependency_job_id":"3ce553db-7d06-4f02-87c5-490a83391609","html_url":"https://github.com/Gamut73/BookShopBooksAPI","commit_stats":null,"previous_names":["gamut73/bookshopbooksapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamut73%2FBookShopBooksAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamut73%2FBookShopBooksAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamut73%2FBookShopBooksAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gamut73%2FBookShopBooksAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gamut73","download_url":"https://codeload.github.com/Gamut73/BookShopBooksAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243590552,"owners_count":20315703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T10:07:52.948Z","updated_at":"2025-03-14T14:24:18.680Z","avatar_url":"https://github.com/Gamut73.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BobShop Book Scraper\n\nThis is a Spring Boot application that uses Selenium to scrape `bobshop.co.za` for books. It then makes some API calls to provide useful information about the books being sold. This application is perfect for shopping 2nd hand books.\n\n## Requirements\n\n- Java 8 or higher\n- Gradle\n- Selenium WebDriver\n\n## Local Setup\n\n1. Clone the repository to your local machine.\n```bash\ngit clone https://github.com/Gamut73/bobshop-book-scraper.git\n```\n\n2. Navigate to the project directory.\n```bash\ncd bobshop-book-scraper\n```\n\n3. Build the project using Gradle.\n```bash\n./gradlew build\n```\n\n4. Run the application.\n```bash\n./gradlew bootRun\n```\n\n## Docker Setup\n\n\nThis application can also be run using Docker. Follow the steps below to build and run the application in a Docker container.\n\n1. Build the Docker image.\n```bash\ndocker build -t bobshop-book-scraper .\n```\n\n2. Run the Docker container.\n```bash\ndocker run -p 8080:8080 bobshop-book-scraper\n```\n\nThe application will start and begin scraping `bobshop.co.za` for book information. The results will be available in the console output.\n\nPlease note that the Dockerfile assumes that the application's JAR file is located at `build/libs/BobShopBooksAPI-0.0.1-SNAPSHOT.jar` and that the Chrome driver is located at `chrome_driver/chromedriver.exe`. If these files are located elsewhere, you will need to update the Dockerfile accordingly.\n\n## Postman\nPlease see the postman collection under the postman folder for examples of how to interact with the API.\n\n## Note\n\nPlease ensure that you have the appropriate WebDriver for your browser installed and available in your system's PATH. For more information on how to set this up, please refer to the [Selenium documentation](https://www.selenium.dev/documentation/en/webdriver/driver_requirements/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamut73%2Fbookshopbooksapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgamut73%2Fbookshopbooksapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgamut73%2Fbookshopbooksapi/lists"}