curl --location 'https://us-prod.notte.cc/functions/3d1518c4-c212-4cef-9191-a3c551740f12/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "3d1518c4-c212-4cef-9191-a3c551740f12",
"variables": {
"board": "pol",
"text": "Dresden",
"start_date": "2017-11-09",
"end_date": "2017-11-10",
"page": 1
}
}'
{
"posts": [
{
"op": true,
"num": "<string>",
"name": "<string>",
"board": "<string>",
"media": {},
"title": "<string>",
"doc_id": "<string>",
"comment": "<string>",
"nreplies": 0,
"post_url": "<string>",
"has_media": true,
"timestamp": "<string>",
"thread_num": "<string>",
"poster_hash": "<string>",
"fourchan_date": "<string>",
"poster_country": "<string>",
"comment_processed": "<string>",
"troll_country_code": "<string>",
"troll_country_name": "<string>",
"poster_country_name": "<string>",
"quoted_post_numbers": [
"<string>"
]
}
],
"metadata": {
"page": 0,
"text": "<string>",
"board": "<string>",
"end_date": "<string>",
"has_next": true,
"page_size": 0,
"start_date": "<string>",
"total_found": 0,
"has_previous": true,
"returned_count": 0,
"total_is_capped": true
}
}