I'm trying to create an IDP and it would really help if there was an example code for using this library. Can anyone help?