Google Reverse Image Search API Documentation

ImgSearch

imgSearch

imgSearch


/imgSearch

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/reverse-image/imgSearch?url="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImgSearchApi;

import java.io.File;
import java.util.*;

public class ImgSearchApiExample {

    public static void main(String[] args) {
        
        ImgSearchApi apiInstance = new ImgSearchApi();
        String apiecoKey = apiecoKey_example; // String | 
        String url = url_example; // String | Url Of Image
        try {
            inline_response_200 result = apiInstance.imgSearch(apiecoKey, url);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImgSearchApi#imgSearch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImgSearchApi;

public class ImgSearchApiExample {

    public static void main(String[] args) {
        ImgSearchApi apiInstance = new ImgSearchApi();
        String apiecoKey = apiecoKey_example; // String | 
        String url = url_example; // String | Url Of Image
        try {
            inline_response_200 result = apiInstance.imgSearch(apiecoKey, url);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImgSearchApi#imgSearch");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *url = url_example; // Url Of Image

ImgSearchApi *apiInstance = [[ImgSearchApi alloc] init];

[apiInstance imgSearchWith:apiecoKey
    url:url
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GoogleReverseImageSearchApiDocumentation = require('google_reverse_image_search_api_documentation');

var api = new GoogleReverseImageSearchApiDocumentation.ImgSearchApi()

var apiecoKey = apiecoKey_example; // {String} 

var url = url_example; // {String} Url Of Image


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.imgSearch(apiecoKey, url, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class imgSearchExample
    {
        public void main()
        {
            
            var apiInstance = new ImgSearchApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var url = url_example;  // String | Url Of Image

            try
            {
                inline_response_200 result = apiInstance.imgSearch(apiecoKey, url);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImgSearchApi.imgSearch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImgSearchApi();
$apiecoKey = apiecoKey_example; // String | 
$url = url_example; // String | Url Of Image

try {
    $result = $api_instance->imgSearch($apiecoKey, $url);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ImgSearchApi->imgSearch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ImgSearchApi;

my $api_instance = WWW::SwaggerClient::ImgSearchApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $url = url_example; # String | Url Of Image

eval { 
    my $result = $api_instance->imgSearch(apiecoKey => $apiecoKey, url => $url);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImgSearchApi->imgSearch: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ImgSearchApi()
apiecoKey = apiecoKey_example # String | 
url = url_example # String | Url Of Image

try: 
    api_response = api_instance.img_search(apiecoKey, url)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImgSearchApi->imgSearch: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
url*
String
Url Of Image
Required

Responses

Status: 200 - successful