mars-rover-twitter-bot

command module
v0.0.0-...-78db8eb Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2016 License: MIT Imports: 15 Imported by: 0

README

mars-rover-twitter-bot

Mars Rover Photos Twitter bot

Installing it

$ go get github.com/odeke-em/mars-rover-twitter-bot
$ mars-rover-twitter-bot --help # For help
$ mars-rover-twitter-bot --offset-in-hours 72 # Start from 72 hours ago

Environment variables

Name Required Details
NASA_API_KEY false By default it is "DEMO_KEY". Go to https://api.nasa.gov/index.html#apply-for-an-api-key to get your API key
MARS_ROVER_TWITTER_CONSUMER_KEY true Your Twitter Consumer Key. Go to https://apps.twitter.com for one
MARS_ROVER_TWITTER_CONSUMER_SECRET true Your Twitter Consumer Secret. Go to https://apps.twitter.com for one
MARS_ROVER_TWITTER_ACCESS_TOKEN true Your Twitter Access Token. Go to https://apps.twitter.com for one
MARS_ROVER_TWITTER_ACCESS_SECRET true Your Twitter Access Key. Go to https://apps.twitter.com for one

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