Site
Home / Forum / Developers / Get live scores against an event

Get live scores against an event


Posted: 30 Nov 2022 20:50
raheel

Posts: 8
Joined: 2022

Hi The Sports DB team,
I want to get live score against an event for which It seems this API (call will using my API KEY) be helpful: https://www.thesportsdb.com/api/v2/json/APIKEY/livescore.php?l=4399
But I didn't understand what will be the value of param l? As I used idEvent, idLiveScore etc for this param but didn't get response. Please guide me about getting live score for an event.
Thank You!


Posted: 05 Dec 2022 19:55
toma

Posts: 1
Joined: 2023

The l is for league, so l=4429 will give you the live score of the World Cup matches.

From there you can easily find the event you are looking for in the results.

zag
Posted: 09 Dec 2022 19:21

zag


Posts: 3,511
Joined: 2020

Yep

L = League id


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 3 (Total: 3)