new pin API
Release 0.1.2
Merge pull request #4 from tessel/jh-pin-api

new pin API