little gem for accessing the esdb API