~josealberto4444/apodnasabot

111b5f94fc7bde502cb0202ab161c4a7a528a26d — José Alberto Orejuela García 4 years ago 7529e0a
Update explanation consistently with release
1 files changed, 2 insertions(+), 6 deletions(-)

M README.md
M README.md => README.md +2 -6
@@ 55,18 55,14 @@ Then, you should [get an API key from NASA][api-request] and copy it in the corr

# Running

You can run the part that gets the API info with

    $ pipenv run python api.py

You can change the date of the APOD it downloads directly in `api.py`.

## Telegram bot

First, you should copy your bot token to the `config.cfg` file. Next, you can run the Telegram bot with

    $ pipenv run python telegram_bot.py

The bot will reply to the `apod` command sending the apod of today or, if followed by a date, sending the one of that date.