thread-genius

Thread Genius API Python Client


License
Apache-2.0
Install
pip install thread-genius==0.0.1

Documentation

Thread Genius API Python Client

Overview

This Python client provides a simple wrapper around our vision API.

Installation

The API client is available on Pip. You can simply install it with a pip install

pip install thread-genius

Getting Started

The following example will setup the client and search a private catalog with an image query.

from threadgenius import ThreadGenius
from threadgenius.types import ImageUrlInput

tg = ThreadGenius(api_key='key_123')
image = ImageUrlInput(url='http://cdn.example.com/image.jpeg')
tg.search_by_image(catalog_gid='catalog_123', image=image, n_results=10)

Documentations

Read more code examples and references at http://docs.threadgenius.co