Python
Classifiers
Official Tinq.ai python SDK.
All URIs are relative to https://tinq.ai/api/v2
If you are an enterprise customer, check your account for your custom endpoint.
Method | HTTP request | Description |
---|---|---|
classifiers | GET /classifiers | Classifiers |
classify | POST /classify | Classify |
sentiment_analysis | POST /sentiment-analysis | Sentiment Analysis |
classifiers
classifiers()
Classifiers
Example
- Bearer Authentication (bearerAuth):
Parameters
This endpoint does not need any parameter.
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
classify
classify(accept=accept, content_type=content_type, body=body)
Classify
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
accept | str | [optional] | |
content_type | str | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
sentiment_analysis
sentiment_analysis(content_type=content_type, accept=accept, body=body)
Sentiment Analysis
Sentiment analysis API
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
content_type | str | [optional] | |
accept | str | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |