Skill API - answerrocket/answerrocket-python-client GitHub Wiki
Overview
The Skill module can be used to interact with AnswerRocket skills. A skill is a piece of executable code that performs an analysis job and returns results in the form of text and/or visuals.
Methods
run(copilod_id, skill_name, parameters)
Examples
# Init AnswerRocket Client
arc = AnswerRocketClient(url='https://your-answerrocket-instance.com', token='<your_api_token>')
# Run a custom skill called "Test Skill" without any parameters
arc.skill.run('<your_copilot_uuid>', 'Test Skill')
# Run a skill called "Data Exploration" to show my sales by sub-category
arc.skill.run('<your_copilot_uuid>', 'Data Exploration', {'metric': 'sales', 'non_date_breakout': 'sub-category'})