Live Feed Updates 0.1.2

This sevice uses a websocket to send you real-time updates to events stats, odds and general info. It works by first logging with a "Login" message. Updates will be sent by the server immediately after login.

Servers

  • live-feed.sportstats.euwsspublic

    Public server that will send you events updates after receiving a login message. On connection you will receive an update message for every currently live event.

Operations

  • PUB ws/get-updates

    Messages you can send to the server.

    Operation IDlogin

    Accepts the following message:

    LoginRequest

    Sent by the client to verify credentials

    object
    uid: LoginMessage

    Examples

  • SUB ws/get-updates

    This is the list of messages you will receive on the websocket

    Operation IDhandleMessage

    Accepts one of the following messages:

    • #0EventUpdate

      An event Update message. This message is sent when events have an update. Markets are only present when updated or being closed

      object
      uid: EventUpdate

      Examples

    • #1EventClose

      An event Closing message. This match will note receive any more updates.

      object
      uid: EventClose

      Examples

    • #2AliveMessage

      Sent every 5 seconds to signal that everything is ok

      object
      uid: AliveMessage

      Examples

Messages

  • #1EventUpdate

    An event Update message. This message is sent when events have an update. Markets are only present when updated or being closed

    object
    uid: EventUpdate
  • #2EventClose

    An event Closing message. This match will note receive any more updates.

    object
    uid: EventClose
  • #3AliveMessage

    Sent every 5 seconds to signal that everything is ok

    object
    uid: AliveMessage
  • #4LoginRequest

    Sent by the client to verify credentials

    object
    uid: LoginMessage

Schemas

  • object
    uid: LoginMessage
  • object
    uid: AliveMessage
  • object
    uid: EventClose
  • object
    uid: EventUpdate
  • object
    uid: Translations

    A list of translations of the entity, in all available languages

  • object
    uid: Event

    A sports event description

  • restricted any
    uid: MiscInfo
  • object
    uid: Timeline

    Match hilights like goals, corners, yellow/red cards, etc...

  • object
    uid: MatchInfo
  • object
    uid: HomeAwayInfo

    H2H score

  • object
    uid: TrackerFrame

    Informations needed to draw the match tracker (widget)

  • object
    uid: EventResult
  • object
    uid: CurrentInfo
  • object
    uid: Tournament
  • object
    uid: Category
  • object
    uid: Sport
  • object
    uid: ChannelInfo

    A reference to a different match tracer or streaming channel

  • object
    uid: Team
  • object
    uid: Outcome

    A possible outcome of a Market. Examples are "Home", "Draw", "Away", "Over 2.5", etc...

  • object
    uid: EventStatus

    The current event state. contains minute and current phase/set

  • object
    uid: Market

    A group of outcomes