new pin API
Release 0.1.1
Merge pull request #7 from tessel/jh-pin-api

new pin API