The project contains aws lambda function to fetch weather information from dark sky public api and tell appropriate response to skill users. You can enable MyWeather skill from here
- Java version >= 1.7
- kotlin version >= 1.1.3-2
- Alexa Skills Kit
- Apache dependencies : Commons Lang, HttpClient, HttpCore
- AWS lambda dependencies : java core, log4j
- DarkSky Forecast API
- To get basic idea to implement AWS lambda function for java follow this alexa sample skill Hello world
- To target your alexa skill you need to replace your alexa skill id in WeatherSpeechletRequestHandler.class which you will be able to get from alexa developer console
- In this skill we used dark sky weather api so you have to replace your dark sky api key in API_KEY constant in Constants.kt
- You can refer interaction model for MyWeather skill from here
- Build alexa skill in Java tutorial : http://thegeekettespeaketh.com/2017/02/build-an-alexa-skill-java-1/
- Dark sky api : https://github.com/200Puls/darksky-forecast-api
- Hello world sample skill : https://github.com/alexa/skill-samples-java/tree/master/helloworld