Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

ngs-archives/availabilitybot

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages