Found a small copy/paste error around line 1500:
Good to post things like this here, or better elsewhere?
Thank you for pointing out this error! We will get this corrected and have a corrected version uploaded soon.
Cool! Glad to see it's welcome. Will let you know if I notice anything else.
On line 966, getContactDetails should be listContactDetails.
View API documentation, code samples, get your API key.