CodeTengu / LambdaBaku

Using AWS Lambda to automate routine tasks of CodeTengu

Home Page:https://codetengu.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Using AWS Lambda to automate routine tasks of CodeTengu

https://codetengu.com/

License:MIT License


Languages

Language:JavaScript 99.6%Language:Python 0.4%