Skip to content

Instantly share code, notes, and snippets.

@tylerreinhart
Created April 18, 2014 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tylerreinhart/11064762 to your computer and use it in GitHub Desktop.
Save tylerreinhart/11064762 to your computer and use it in GitHub Desktop.
toopher-perl-pairing-example.com
use ToopherAPI
# Create an API object using your credentials
my $api = new ToopherApi("<your consumer key>", "<your consumer secret>");
# Step 1 - Pair with their phone's Toopher app
my $pairing_status = $api->pair("pairing phrase", "username@yourservice.com");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment