Python
Scraper
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 |
---|---|---|
extract_article | POST /scraper/extract-article | Extract article |
google_search | POST /scraper/google | Google Search |
scrape | POST /scraper/scrape | Scrape |
extract_article
extract_article(accept=accept, body=body)
Extract article
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
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 | - |
google_search
google_search(accept=accept, body=body)
Google Search
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
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 | - |
scrape
scrape(accept=accept, body=body)
Scrape
Example
- Bearer Authentication (bearerAuth):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
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 | - |