Site
Home / Forum / Developers / Re: API Tutorial

Re: API Tutorial


Posted: 04 Dec 2019 07:56

farhad
Posts: 1
Joined: Dec 2019

whatis the rule to pay for api?

Posted: 04 Dec 2019 09:48

zag
Posts: 1,558
Joined: Oct 2016

whatis the rule to pay for api?

All details are on the API page, a few of the more abused free methods are now only for Patreon supporters.

The vast majority of API methods remain free.

https://www.thesportsdb.com/api.php

Posted: 31 May 2020 20:52

beck37
Posts: 1
Joined: May 2020

Hey all! Thank you for all your hard work and putting this together. I just found that you have information regarding Pro Supercross and Motocross events. Following the tutorial, i'm able to get event details but these event details do not include results. Is that something that comes with a production key?

I've looked far and wide on how to get supercross results via an API and haven't found much. This seems like it could be the best bet so any response or information would be helpful...

To be more specific, this event shows results on the webpage: https://www.thesportsdb.com/event/652890
But there are no results in the `get event details by event id` response


{
"events": [
{
"idEvent": "652890",
"idSoccerXML": null,
"idAPIfootball": null,
"strEvent": "Anaheim 1",
"strEventAlternate": null,
"strFilename": "AMA Supercross 2020-01-04 Anaheim 1",
"strSport": "Motorsport",
"idLeague": "4468",
"strLeague": "AMA Supercross",
"strSeason": "2020",
"strDescriptionEN": "Monster Energy® AMA Supercross, an FIM World Championship, is the most competitive and highest-profile off-road motorcycle racing championship on the planet. Over 17 weeks between January through May and a million-dollar All-Star Race, Supercross attracts some of the largest and most impressive crowds inside the most recognizable and prestigious stadiums in North America to race in front of nearly one million live fans and broadcast to millions more worldwide. The track takes all the exciting obstacles of outdoor riding—jumps, turns, and bumps—amplifies them, and puts them in easy view of spectators. \r\n\r\n\r\n\r\nFounded in America and sanctioned by the American Motorcyclist Association (AMA) in 1974, Supercross is currently co-sanctioned by the Federation Internationale de Motocyclisme (FIM), the official global governing body for motorcycle racing, thus making it a formal World Championship.",
"strHomeTeam": null,
"strAwayTeam": null,
"intHomeScore": null,
"intRound": "1",
"intAwayScore": null,
"intSpectators": null,
"strHomeGoalDetails": null,
"strHomeRedCards": null,
"strHomeYellowCards": null,
"strHomeLineupGoalkeeper": null,
"strHomeLineupDefense": null,
"strHomeLineupMidfield": null,
"strHomeLineupForward": null,
"strHomeLineupSubstitutes": null,
"strHomeFormation": null,
"strAwayRedCards": null,
"strAwayYellowCards": null,
"strAwayGoalDetails": null,
"strAwayLineupGoalkeeper": null,
"strAwayLineupDefense": null,
"strAwayLineupMidfield": null,
"strAwayLineupForward": null,
"strAwayLineupSubstitutes": null,
"strAwayFormation": null,
"intHomeShots": null,
"intAwayShots": null,
"dateEvent": "2020-01-05",
"dateEventLocal": "2020-01-04",
"strDate": null,
"strTime": "03:00:00+00:00",
"strTimeLocal": "",
"strTVStation": null,
"idHomeTeam": null,
"idAwayTeam": null,
"strResult": "",
"strCircuit": "Angels Stadium of Anaheim",
"strCountry": "USA",
"strCity": "Anaheim",
"strPoster": "https://www.thesportsdb.com/images/media/event/poster/o5hzf71574732358.jpg",
"strFanart": "https://www.thesportsdb.com/images/media/event/fanart/6lb0dn1574732551.jpg",
"strThumb": "https://www.thesportsdb.com/images/media/event/thumb/z3qmzi1577629051.jpg",
"strBanner": "https://www.thesportsdb.com/images/media/event/banner/e26iyy1574732423.jpg",
"strMap": "https://www.thesportsdb.com/images/media/event/map/bvxayg1574732022.jpg",
"strTweet1": "",
"strTweet2": "",
"strTweet3": "",
"strVideo": "https://www.youtube.com/watch?v=3vrbJ1M4W4A",
"strPostponed": "no",
"strLocked": "unlocked"
}
]
}


Posted: 01 Jun 2020 09:29

zag
Posts: 1,558
Joined: Oct 2016

Hey all! Thank you for all your hard work and putting this together. I just found that you have information regarding Pro Supercross and Motocross events. Following the tutorial, i'm able to get event details but these event details do not include results. Is that something that comes with a production key?

I've looked far and wide on how to get supercross results via an API and haven't found much. This seems like it could be the best bet so any response or information would be helpful...

To be more specific, this event shows results on the webpage: https://www.thesportsdb.com/event/652890
But there are no results in the `get event details by event id` response



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 25 to 29 (Total: 29)