Skip to content

alperkal/cityBikeAlexaSkill

Repository files navigation

serverless MIT License codebeat badge

Description

Citybike alexa skill is a Aws lambda function to retrieve free bike status of the stations in Vienna as alexa speechlets. It's live on German Alexa Skill store and can be enabled without any charges

Sample utterrances to invoke the skill can be found in the speechAssets folder

Examples

Example user interactions:

One-shot model:

User:  "Alexa, ask CityBike How many free bikes are there in Oper"
Alexa: "There are ... free bikes in station Oper"

User:  "Alexa, ask CityBike How many free bikes are there"
Alexa: "There are ... free bikes in station Oper"

User:  "Alexa, ask CityBike Oper"
Alexa: "There are ... free bikes in station Oper"

Installation and Deployment

  • First run, get dependencies:

     npm install node-rest-client --save
    

This project makes use of serverless framework. If you intent to deploy this to your own instance, set up serverless as it's described in the documentation page

  • First deployment:

     serverless deploy 
    
  • Consequitive deployments:

     serverless deploy function --function alexaHandler
    
  • Production deployment:

     serverless deploy --stage production 
    

Testing

Run the service locally using bst proxy:

bst proxy lambda CityBikeSkill.js --verbose

Use the autogenerated url to configure your alexa skill (as custom endpoint)

Acknowledgements

'CityBike' Alexa Skill is not a product of Gewista Werbeges.m.b.H. or CITYBIKE Wien. Correctness of the data used in this skil is not guaranteed.

Icon used in the skill belongs to open data of Stadt Wien � https://open.wien.at/site/icons/ and licenced Creative Commons Namensnennung 3.0 �sterreich

License

MIT, see LICENSE.

About

This is the repository for Citybike Allexa Skill

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published