Soccer real time notifications
To get the notifications, partner needs to provide an endpoint URL that receives HTTP POST requests. the notification service sends real time notification JSON objects. events are related to games.
Here is the notification list :
Before game
Game started
Game ended
Goal
Red card
Line up
Half Time
Yellow card
JSON object structure:
Parameter
Type
Description
Example
users
List<PartnerUser>
List of users subscribed to one of the teams
sportType
Map<String,String>
Map of language and sport type
{"ar":"كرة قدم","ru":"Футбол","uk":"Футбол ","en":"Soccer","id":"Sepak bola","fr":"Football","es":"Fútbol"}
notificationType
Map<String,String>
Map of language and notification type
{"ar":"تذكير قبل المباراة","ru":"Напоминание о матче","uk":"Нагадування про матч","en":"Game about to start","id":"Pengingat Pertandingan","fr":"Rappel de match","es":"Recordatorio"}
iconURL
String
URL of magazine icon
Teams
List<String>
Team's names
["Tokushima","Kofu"]
Competition
String
Competition name
"J2 League"
Params
Map<String,String>
Additional notification data
{"goal_type":"0","home_score":"1","away_score":"0","time":"7","team":"Tokushima","player":"7"}
Time
Long
Event timestamp in UTC
1539681301
POST JSON object example:
Last updated