API library for bugherd