Versions Compared

Key

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

Resource information

URLhttps://api.softnetsport.com/v2/events/{event_id}/providers
XSDhttps://api.softnetsport.com/assets/API/docs/xsd/events.indexproviders.xsd
MethodGET

Description

Returns the events related with competitions, seasons, stages and groupsall provider event related to our event id.
Cache30 seconds
Authorization requiredYes

Method parameters

There are no method parameters in this resource 
NameTypeDescription
id xsd:intId of event

Query parameters

NameTypeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page

Method calling examples

.xml?token={{YOUR_TOKEN}}
LinkDescription
https://api.softnetsport.com/v2/eventsReturns a list of all events in XML formathttps://api.softnetsport.com/v2/events/{event_id}/providers?token={{YOUR_TOKEN}}Returns a list of all events in JSON format

Output elements

.events
..event
provider_id
sport_id
provider_event_id
event_id
event_name
start_date
competition_name
competition_season_id
stage_id
group_id
round_id
round_name
day
event_status_id
home_id
away_id
home_name
away_name
our_home_id
our_away_id
our_home_name
our_away_name
our_start_date
verify_lvl
url
...results
....result_id
results_array

Can be different for each sport

...details
....detail_id
details_arrayCan be different for each sport