ProductAI SDK for Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
productai
tests
.bumpversion.cfg
.gitignore
.travis.yml
LICENSE
README.rst
pyproject.lock
pyproject.toml
tox.ini

README.rst

ProductAI SDK for Python

https://travis-ci.org/MalongTech/productai-python-sdk.svg?branch=master

ProductAI® SDKs enable using ProductAI® APIs easily in the programming language of your choice. You can use our Python SDK to send image queries and maintain your datasets.

installation

$ pip install productai

Usage

Please read ProductAI Developers Documentation

API Endpoint

from productai import Client

# default value is: https://api.productai.cn
cli = Client(access_key_id, access_key_secret, url_root='https://api.productai.com')
or
cli = Client(access_key_id, access_key_secret)
cli.url_root = 'https://api.productai.com'

安装

$ pip install productai

使用说明

请阅读 ProductAI开发者文档

API节点

from productai import Client

# default value is: https://api.productai.cn
cli = Client(access_key_id, access_key_secret, url_root='https://api.productai.com')
or
cli = Client(access_key_id, access_key_secret)
cli.url_root = 'https://api.productai.com'