Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.24 KB

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: