codelab-bg / track-artwork-image-scraper
Tool to get images from google api
v0.3.1
2021-02-02 13:01 UTC
Requires
- guzzlehttp/guzzle: ^7.2
- illuminate/support: ~7|~8
Requires (Dev)
- orchestra/testbench: ~5|~6
- phpunit/phpunit: ~9.0
README
Package to search for images trough google api - Custom Search
Installation
Via Composer
$ composer require codelab-bg/track-artwork-images-craper
Requirements
Make sure you have api key - https://console.cloud.google.com/ and cx key - https://cse.google.com/cse/. Also in cse console make sure Image Search and Search the entire web options are on.
Usage
$result = TrackArtworkImageScraper::search($query, $page, $perPage, $filters);
page and filters are optional. More about filters on - https://developers.google.com/custom-search/v1/reference/rest/v1/cse/list
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
license. Please see the license file for more information.