Skip to content

TinEye/pytineye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytineye

pytineye is the official Python client library for the TinEye API. The TinEye API is TinEye's paid search alternative for professional, commercial or high-volume users. See https://api.tineye.com/ for more information.

Contents

Installation

Install the latest version of the library using pip:

$ python -m pip install pytineye

Migrating from previous versions

If you were using any version of pytineye before 3.0.0, you will need to make minor changes to your code.

The API object is now instantiated using a single key, api_key. The value of this key is the same as your previous private_key. The public key is no longer used.

New ✅

# Sandbox key
# Note that this is the same value as the old private_key
api_key = "6mm60lsCNIB,FwOWjJqA80QZHh9BMwc-ber4u=t^"
api = TinEyeAPIRequest(
    api_url="https://api.tineye.com/rest/",
    api_key=api_key,
)

Old ❌

# Sandbox keys
public_key = "LCkn,2K7osVwkX95K4Oy"
private_key = "6mm60lsCNIB,FwOWjJqA80QZHh9BMwc-ber4u=t^"
api = TinEyeAPIRequest(
    api_url="https://api.tineye.com/rest/",
    public_key=public_key,
    private_key=private_key,
)

Documentation

View documentation.

Support

Please send comments, recommendations, and bug reports to [email protected].