availabilitybot

command module
v0.0.0-...-68eb679 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2017 License: BSD-3-Clause Imports: 11 Imported by: 0

README

availabilitybot

Build Status Coverage Status Go Report Card

Tweets Parts Availability in Apple Stores in Japan.

Environment variables

Grab your Twitter credentials from https://apps.twitter.com/

TWITTER_CONSUMER_KEY
TWITTER_CONSUMER_SECRET
TWITTER_ACCESS_TOKEN
TWITTER_ACCESS_SECRET

Quickstart

docker pull atsnngs/availabilitybot
docker run --env-file .env \
  --rm -v $(pwd)/bot:/home/bot \
  -it atsnngs/availabilitybot \
  MMEF2J/A

Crontab

* * * * * sudo docker run --env-file /home/ngs/availabilitybot/.env --rm -v /home/ngs/availabilitybot:/home/bot atsnngs/availabilitybot MMEF2J/A

Build

go get -v -t -d .
go build .
./availabilitybot MMEF2J/A

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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