The Start Magazine
  • Getting Started
  • Authentication
  • Error Handling
  • Content API
  • Video Api
  • Horoscope API
  • Comics API
  • Quotes API
  • Sport API
  • Personal Content API
  • Soccer real time notifications
  • Promoted content API
  • Article Page
  • Webview Development
  • Terms of Use
  • Privacy Policy
  • Partner reportings
Powered by GitBook
On this page
  • JSON object structure:
  • POST JSON object example:

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:

 {"users": 
 [{"id": "26876850",
	"language": "es",
	"counryCode": "CO",
	"gamePage": "https://thestartmagazine.com/soccer/game/1786012/?isDesktop=false&publisherId=partnerId&key=partnerKey&vendor=365scores&genericDimension=Soccer&countryCode=CO&language=es&userId=26876850"
 }],
 "sportType": {"ar": "كرة قدم","ru": "Футбол","uk": "Футбол ","en": "Soccer","id": "Sepak bola","fr": "Football","es": "Fútbol"},
 "notificationType": {"ar": "بطاقة صفراء","ru": "Жёлтая карточка","uk": "Жовта картка","en": "Yellow card","id": "Kartu Kuning","fr": "Carton jaune","es": "Tarjeta Amarilla"},
 "iconURL":"https://imageca.thestartmagazine.com/upload/app/round-start-magazine-logo_48X48.png",
 "teams": ["Ireland U19","Netherlands U19"],
 "competition": "Euro U19 Qualification",
 "params": {"team": "Netherlands U19","time": "77","player": "M. Ihattaren"},
 "time": 1539697332 
 }
PreviousPersonal Content APINextPromoted content API

Last updated 6 years ago

[{"id":"55060145","language":"es","counryCode":"MX","gamePage":"]

“

https://thestartmagazine.com/soccer/game/1859249/?isDesktop=false&publisherId=pubId&key=key&vendor=365scores&genericDimension=Soccer&countryCode=MX&language=es&user=55060145"}
https://imageca.thestartmagazine.com/upload/app/round-start-magazine-logo_48X48.png”