codelab-bg/track-artwork-image-scraper

Tool to get images from google api

v0.3.1 2021-02-02 13:01 UTC

This package is auto-updated.

Last update: 2024-09-29 05:43:08 UTC


README

Latest Version Total Downloads

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.