seregazhuk\PinterestBot\Api\Providers\Pins::visualSimilar PHP Method

visualSimilar() public method

public visualSimilar ( string $pinId, array $crop = [] ) : array | boolean
$pinId string
$crop array
return array | boolean
    public function visualSimilar($pinId, array $crop = [])
    {
        $data = ['pin_id' => $pinId, 'crop' => $crop ?: ["x" => 0.16, "y" => 0.16, "w" => 0.66, "h" => 0.66, "num_crop_actions" => 1], 'force_refresh' => true, 'keep_duplicates' => false];
        return $this->execGetRequest($data, UrlBuilder::RESOURCE_VISUAL_SIMILAR_PINS);
    }