Using AWS Lambda to automate routine tasks of CodeTengu.
JavaScript Python
Latest commit 7393a39 Jun 12, 2016 @vinta vinta update README
Permalink
Failed to load latest commit information.
fixtures
functions
libs
.eslintrc
.gitignore
LICENSE
README.md
package.json
project.json

README.md

LambdaBaku

Using AWS Lambda to automate routine tasks of CodeTengu.

See CodeTengu/headquarters#62.

Usage

# install apex to manage AWS Lambda functions
$ curl https://raw.githubusercontent.com/apex/apex/master/install.sh | sh

$ apex deploy
$ apex invoke sync_published_issues --logs
$ apex invoke get_issues --logs
$ apex invoke check_post_urls --logs
$ echo -n '{"issue_number": 42}' | apex invoke sync_issue --logs
$ echo -n '{"issue_number": 42}' | apex invoke get_issue_detail --logs
$ echo -n '{"issue_number": 42}' | apex invoke share_issue_on_twitter --logs

References:

HTTP API

You must add to each request a custom header named x-api-key. It's now in private beta, you may need to contact us for requesting an API key.

References: