Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource information

Yes
URLhttps://api.statscore.com/v2/mapped-events
MethodGET

Description

Returns a list of events booked and mapped by the client for the selected product.
Please note: the list will only contain events with the status: "finished", "live" and "scheduled" including events for the next 7 5 days.
The default order for returned data is: start date - ascending. 

Cache300 seconds (5 min.)
Authorization required
  • IP whitelisting (preferred)
    OR
  • Auth Token

Method parameters

There are no method parameters in this resource 
NameTypeDescription
  • client_id required when IP whitelisted
  • token required when no client_id used

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. There is more information concerning authorization in the API introduction section
productxsd:string

REQUIRED. Determines the product in which given events were booked. Possible values:

  • livescorepro
  • scoutsfeed 
  • scoreframe
  • prematchcenter
client_idxsd:intAssigned by the API administratorclient_event_idxsd:string
Determines if client's event identifier is mapped with the STATSCORE event.
Values could be separated by a comma (e.g. 123,234,321).
If client's event is not mapped proper message will be returned.mapped_status
xsd:string

Determines if events are mapped with client_event_id. Possible values:

  • mapped - display events mapped with customer
  • unmapped - display events unmapped with the customer
  • all - display all events (mapped and unmapped)
bookedxsd:string

Determines if events are booked for you. Possible values:

  • yes
  • no
multi_idsxsd:stringList of events identifiers separated by a comma (e.g. 123,234,321) for which you want to get the event's details (Up to 100 ids)
langxsd:stringDetermines language for the output data 
pagexsd:intDetermines offset of paginated data. The default value is 1 which means the first page
limitxsd:int

Determines the maximum number of returned records on the page. Used in paginated data. Default value is 500

Possible values: 5, 10, 25, 50, 100, 250, 500

...