resonator

Build StatusHex VersionHex Version

External API’s change resonator.

Application to simplify the job of polling an external API, and then execute some arbitrary code when any interesting change is detected.

All that is needed is the API endpoint, anything needed to access it, the function to detect changes, and the function to execute when a change is detected.

Use

Just add {:resonator, "0.1.0"} to your deps on mix.exs, and then :resonator to your applications list to make sure it’s started right before your app.

Then somewhere in your application configure the resonance like this:

Resonator.add(:myresonance, endpoint_config, change_fun, fire_fun)

TODOs

Changelog

master

0.1.0