API v2: Getting riddles with tags
Requesting all your riddle quizzes and polls with tag X and tag Y is easy with our API.
To make it even easier, we’ve put together a little snippet.
(Click here to go to the general API v2 documentation)
$api = new ApiV2('YOUR TOKEN', 'YOUR KEY'); $tagIds = ; // all tagIds as an array - get them via /api/v2/tag/get/list $riddles = $api->getRiddleList([ 'tagIds' => json_encode($tagIds) // convert it to JSON ]); var_dump($riddles);
Have any questions about our API? Please give us a shout on support chat or at email@example.com – we’re super fast to respond to every message.
(Our entire team, from our CEO Boris on down, race each other to answer messages first.)