cary-curbside-pick-up

command module
v0.0.0-...-511f885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

README

Cary Curbside Pick Up

Cary Curbside Pick Up is an Alexa skill to be executed in AWS lambda to provide scheduling help for Cary, North Carolina.

This can be easily modified to any town that uses the ReCollect API.

Alexa Intents

GetSchedule

This intent provides the date for the upcoming requested waste pick up type (e.g. recycling). This intent requires the collectionType intent slot which would contain a waste pick up type such as garbage, recycling, leaf collection, or yard waste.

A configured utterance might be when is the next {collectionType} pick up.

WhatIsNext

This intent provides the date and the services on the next curbside pick up day.

A configured utterance might be what is next.

Configuration

The Cary, North Carolina address must be configured using the STREET_ADDRESS environment variable. An example value is 1260 NW Maynard Rd.

Build

To build the binary and zip it for AWS Lambda, run the following commands:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main ./main.go
zip handler.zip ./main

Then you can upload handler.zip to AWS Lambda.

Documentation

Overview

Package main is an AWS Lambda function to get the curbside pick up services for your Cary home. The input must be an Alexa request. To use this, set the "STREET_ADDRESS" to your home's street address (e.g. 1260 NW Maynard Rd).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL