We have nice basic code examples in different languages here: https://medium.com/from-mysociety/using-mysocietys-apis-for-ge2017-cfb89dcf5311 But this isn't linked to from the api documentation anywhere.