Project

lita-apod

0.0
No commit activity in last 3 years
No release in over 3 years
Pulls a picture using the NASA APOD (astronomy picture of the day) API endpoint
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0.0

Runtime

>= 4.7
 Project Readme

lita-apod

Responds back with today's Astronomy Picture of the Day!

Installation

Add lita-apod to your Lita instance's Gemfile:

gem "lita-apod"

Configuration

No configuration necessary! NASA gives their API away for free!!

Nasa limits their API calls using their free demo key. If you're going to use this for a pretty active bot, get a key from https://api.nasa.gov/api.html#authentication. Otherwise, 'DEMO_KEY' will work for the default key.

Put the below in your lita-config.rb file and have fun!

config.handlers.apod.apod_api_key = 'DEMO_KEY'

Usage

Once installed, Lita: apod or Lita: apod?