Integrate Wikipedia into Home Assistant?

I am a registered Wikipedia editor, and I want to do an automation every time I get a message on my talk page, and every time somebody thanks me.

I think I should use the Wikipedia API (https://en.wikipedia.org/w/api.php). More specifically:

  • Talk Page: https://en.wikipedia.org/w/api.php?action=query&titles=User_talk:QuickQuokka&prop=revisions&rvprop=user&format=json
  • Thanks log: https://en.wikipedia.org/w/api.php?action=query&format=json&list=logevents&letype=thanks&letitle=User:QuickQuokka

The thing is I genuinely have no idea on how to integrate that into Home Assistant.

Also, if possible, ignore talk page changes if they come from the "user":"QuickQuokka" (that is myself)

–~~~~

1 Like