/skill-sample-python-fact

An Alexa Skill Sample showing how to build a fact skill in Python.

Primary LanguagePythonOtherNOASSERTION

Build an Alexa Fact Skill in ASK Python SDK

This Alexa sample skill is a template for a basic fact skill.

What Your Skill Will Do

A fact skill for Alexa is a "Hello, World" example. You provide a list of interesting facts about a topic, and Alexa will read one of those facts to your user when they start your skill. The purpose of building this skill is to teach you how the different pieces of the Alexa development process fit together, while still producing an interesting, useful skill that others can enjoy.

This Alexa skill template helps you create your first fact skill. Your users will be able to say things like:

"Alexa, ask Superhero Facts for a new fact."
"Alexa, start Baseball Facts."
"Alexa, ask Titanic Facts to give me another fact."

Alexa will respond to all of these requests with responses like these:

"Here's your superhero fact: Iron Man's armor used to include roller skates."
"Here's your baseball fact: Ralph Kiner is the only player ever to lead the league in homers for seven years in a row — his first seven years as a major league player."
"Here's your Titanic fact: The ship burned around 600 tons of coal a day – hand shoveled into its furnaces by a team of 176 men. Almost 100 tons of ash were ejected into the sea each day."

Get Started

Additional Resources

Community

Tutorials & Guides

  • Voice Design Guide - A great resource for learning conversational and voice user interface design.

Documentation