Riddle is a beautifully intuitive online quiz maker and marketing platform - allowing publishers, brands and bloggers add quizzes, personality tests, polls and more to their websites.
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Riddle Quiz Maker API lets you tap into a rich seam of interactive content, from quizzes to polls and surveys. By leveraging this API on Pipedream, you can automate interactions with your quizzes, extract responses in real-time, synchronize data across platforms, and trigger actions based on user engagement. Exploiting Pipedream's serverless platform allows you to create workflows that respond swiftly, integrate with numerous apps, and streamline content management—turning audience insights into actionable intelligence.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
riddle_quiz_maker: {
type: "app",
app: "riddle_quiz_maker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.riddle.com/api/v2/riddle/get/types`,
headers: {
"Authorization": `Bearer ${this.riddle_quiz_maker.$auth.api_token}`,
"Key": `${this.riddle_quiz_maker.$auth.api_key}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}