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
[ | |
{ | |
"id" : "BR" , | |
"name" : "Brazil" | |
} , | |
{ | |
"id" : "ES" , | |
"name" : "Spain" | |
} | |
] |
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
{ | |
"message" : "Error description" | |
} |
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
{ | |
... | |
} |
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
curl --verbose \ | |
--header "Authorization: ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245" \ | |
https://joysticket.com/api/v2/country | |
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
// Verify and reward user with Tickets | |
// Replace the parameter with the code registered on the developers web panel | |
JoysticketSDK.Instance.TrackEventWithCallback ("CODE_FOR_YOUR_EVENT"); | |
// Required delegate | |
JoysticketSDK.Instance.TrackEventFinished += | |
new JoysticketSDK.TrackEventFinishedEventHandler(OnTrackEventFinished); | |
public void OnTrackEventFinished(JoysticketEvent joysticketEvent){ |
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
// Verify and reward user with Tickets | |
// Replace the parameter with the code registered on the developers web panel | |
JoysticketSDK.Instance.TrackEvent ("CODE_FOR_YOUR_EVENT"); |
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
// Joysticket user authentication | |
// Shows the Joysticket interface for the user to login or signup to Joysticket | |
JoysticketSDK.Instance.ShowViewLogin (); |
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
// Set Joysticket Credentials | |
// Replace the parameters with your App's Authentication Data | |
JoysticketSDK.Instance.SetCredentials ("PUBLIC_KEY", "PRIVATE_KEY"); | |
// Initialize the SDK | |
JoysticketSDK.Instance.Initialize (); |
NewerOlder