new pin api
Release 0.8.2
Merge pull request #2 from tessel/jh-pin-api

new pin API