tplive / comicbot

Scheduled job that will fetch comics from the Teknisk Ukeblad (tu.no) website and XKCD and post links to Slack.
MIT License
2 stars 2 forks source link

Support XKCD #16

Closed tplive closed 1 year ago

tplive commented 1 year ago

This comic would need the same structure as Comic Agilè, but XKCD has it's own API we can use! 😃

For the latest comic: https://xkcd.com/info.0.json For any arbitrary comic: https://xkcd.com/614/info.0.json

A thought: To avoid double-posting, we need to keep track of the latest comic we have posted. Is it possible to use Github's API to set an environment variable? In that case, we need no outside dependency.