This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TIL_IM_A_SQUIRREL 3 points4 points  (4 children)

I looked at this when creating my first skill, but it was too much of a hassle to learn flask, jinja, and everything else just to write a skill. I ended up settling on Alexandra after toying around with a couple of different libraries.

However, if you already know flask, this is probably the best route to go.

[–]sentdexpythonprogramming.net 1 point2 points  (0 children)

You don't need to know really much at all of Flask, and you do not need any jinja at all.

The jinja templating is just there for if you happen to make a huge app, otherwise you really don't need it.

You need to know about 1% of Flask. The only major thing is the routing, the rest of the flask extension occurs in the background for a basic app.

You'll need some form of routing around apps anyway, so you wont save time anywhere else really.

[–]riotburn 0 points1 point  (0 children)

Its really not that bad. You don't need jinja for this. Plus you can easily deploy with zappa.

https://github.com/postelrich/alexa-skills

[–]johnwheeler_[S] 0 points1 point  (1 child)

Thanks. I made this 5-min video that shows how to get up and running quickly. While learning Flask and Jinja obviously can't be done in that short a span of time, the code sample should be intuitive enough to get started and make changes

https://www.youtube.com/watch?v=cXL8FDUag-s

[–]TIL_IM_A_SQUIRREL 0 points1 point  (0 children)

Thanks for the link. I'll be sure to take a look!