Skip to content

skillkit/go-alexa

Repository files navigation

alexa Build Status GoDoc Go Report Card

Go package for creating Amazon Alexa skills. Not a hundred percent package for all Alexa features. The most basic features exists.

Installation

go get -u github.com/skillkit/go-alexa

Example with HTTP

package main

import (
	"net/http"

	"github.com/skillkit/go-alexa"
)

func main() {
	app := alexa.NewApp(&alexa.Options{
		ApplicationID: "amzn1.ask.skill.aaa",
	})

	app.OnIntent(func(w alexa.ResponseWriter, r *alexa.Request) error {
		w.OutputSpeech("Hello, world!")
		return nil
	})

	http.Handle("/", app.Handler())
	http.ListenAndServe(":3000", nil)
}

License

MIT © Fredrik Forsmo

About

Go package for creating Amazon Alexa skills

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages