The Alexa Skill ID: amzn1.ask.skill.6e698795-d172-4052-af04-9db5fc0ff07d
The skill is developed, submitted and certified for the German skill store. It presents some random 'facts' about a guy called Schmiss Norrländer, which is a completely unknown guy even for Germans but who eventually knew some Karate moves. Don't take it too serious.
The skill is based on the simple fact-skill template from Github.
As I don't have an Alexa Echo yet and skills for the German skill store doesn't work in echosim.io yet, I will just write down how I made it and, at the end, present the source code. But first I give you some example answers and try to translate them into English:
- 'Schmiss Norrländer isst einen Elefanten zum Frühstück und hat danach noch Hunger.' - 'Schmiss Norrländer eats an elephant for breakfast and still is hungry'
- 'Wenn Schmiss Norrländer einkaufen geht, ist sein Einkaufskorb schon zu Hause, bevor er bezahlt hat.' - 'When Schmiss Norrländer goes shopping, his basket comes home before he even checked out.'
First, I had help. I've attended an Alexa bootcamp in Berlin. Liz Myers was our host and guided us through our first Alexa skill. Basically, you need a developer account on Amazon and an account on AWS. Then you go to github.com/alexa for several skill templates.
The fact skill template is the easiest one. The user calls your skill on Alexa and your skill returns with some random fact. That's it. Easy. On your Amazon developer account, you define your new skill. On AWS, you add a new lambda function which will process the user request and provide the answer, which Alexa will say to the user.
I recommend to look into skill-sample-nodejs-fact
on github.com/alexa and follow the illustrated README.md. The source code is below:.
Comments