Skip to content

chimame/search_ranking_checker_on_aws_lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$ npm install
$ docker run --rm -v $(pwd):/var/task lambci/lambda:build-nodejs8.10

# if getting searchResults
$ docker run --rm -v $(pwd):/var/task lambci/lambda:nodejs8.10  index.handler '{"searchWord": "hoge hoge", "siteDomain": "example.com"}' | jq '.searchResults'

# if getting screenshot
$ docker run --rm -v $(pwd):/var/task lambci/lambda:nodejs8.10  index.handler '{"searchWord": "hoge hoge", "siteDomain": "example.com"}' | jq '.screenShot' | xxd  -r -p > $(pwd)/image.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published