Forked from tylerreinhart/toopher-java-pairing-example.java
Last active
August 29, 2015 14:16
-
-
Save smholloway/9f2833113596616d9337 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.toopher.*; | |
// Create an API object using your credentials | |
ToopherApi api = new ToopherApi("<your consumer key>", "<your consumer secret>"); | |
// Step 1 - Pair with their phone's Toopher app | |
PairingStatus pairing = 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