Skip to content

Instantly share code, notes, and snippets.

Raphael Melo raphaelgmelo

Block or report user

Report or block raphaelgmelo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View joysticket_api_get_balance
curl --verbose \
--header "Authorization: ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245" \
https://joysticket.com/api/v2/balance
View joysticket_api_get_app_response.json
{
"icon": "https://s3-sa-east-1.amazonaws.com/joysticket-dev/icon_a8debf663efa16db824d6e46c4d0602720141028.jpg",
"appName": "Joysticket Sample",
"appDescription": "Joysticket Sample é apenas um teste da plataforma",
"appCategory": "Travel",
"developerName": "Joysticket"
}
View joysticket_api_list_event_response.json
[
{
"reward": 10,
"eventName" : "Warming Up",
"eventDescription" : "Everyday, get Tickets by completing your first fight!",
"available" : false,
},
{
"reward" : 500,
"eventName" : "Fatality",
View joysticket_api_list_event
curl --verbose \
--header "Authorization: ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245:ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245" \
https://joysticket.com/api/v2/event?user-auth=true
View joysticket_api_track_event_response.json
{
"message" : "Joysticket Sample Touch pt-BR",
"notificationType" : "M",
"status" : "P",
"tickets" : "+1000",
}
View joysticket_api_track_event
curl --verbose \
--header "Authorization: ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245:ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245" \
--data "code=denismendes&email=denis@joysticket.com&password=123456" \
https://joysticket.com/api/v2/track-event
View joysticket_api_update_user_response.json
{
"id": 1,
"username": "denismendes",
"email": "denis@joysticket.com",
"hashEmail": "2674707bafdcaef012aae60d9404f1f3",
"password": "****",
"firstName": null,
"lastName": null,
"photo": null,
"addressOne": null,
View joysticket_api_update_user
curl --verbose \
--header "Authorization: ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245:ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245" \
--proxy PUT \
--data "username=denisfelipe" \
https://joysticket.com/api/v2/user/3
View joysticket_api_get_user_response.json
{
"createdAt" : {
"date" : "2014-09-23 16:27:16.000000" ,
"timezone_type" : 3 ,
"timezone" : "America/Sao_Paulo"
}
}
View joysticket_api_get_user
curl --verbose \
--header "Authorization: ba14ef0f3dcaf77b92b710761f700acfbdff3d6e6887dd634189c237604ea57720140910540245" \
--data "username=denismendes&email=denis@joysticket.com&password=123456&country=1" \
https://joysticket.com/api/v2/user`
You can’t perform that action at this time.