Search found 171 matches

Go to advanced search

by zag
Tue Feb 07, 2017 8:23 pm
Forum: Developers
Topic: League details by name
Replies: 3
Views: 254

Re: League details by name

Use the all leagues API method to lookup the name, then use the ID to get all the details is probably the best way to do it. http://www.thesportsdb.com/api/v1/json/1/all_leagues.php then http://www.thesportsdb.com/api/v1/json/1/lookupleague.php?id=4346 Saying that, the league names don't really chan...
by zag
Mon Feb 06, 2017 2:58 pm
Forum: General Discussion
Topic: New sports
Replies: 2
Views: 8834

Re: New sports

All of these are pretty easy to add, but only if we stick to single events.

I think that's the way forward, just wanted to check.
by zag
Sun Feb 05, 2017 6:51 pm
Forum: Artwork
Topic: Banner Size
Replies: 2
Views: 8740

Re: Banner Size

Yep we follow the latest Fanart.tv size resolutions.

You can check all of them in the developers area

viewtopic.php?f=7&t=1800
by zag
Sun Feb 05, 2017 6:50 pm
Forum: Developers
Topic: Bad link for API?
Replies: 3
Views: 350

Re: Bad link for API?

whoops! Thanks fixed.
by zag
Fri Feb 03, 2017 12:29 pm
Forum: Developers
Topic: API Tutorial
Replies: 4
Views: 22166

Re: API Tutorial

Livescores

Soccer Livescores

Code: Select all

thesportsdb.com/api/v1/json/{APIKEY}/latestsoccer.php

http://www.thesportsdb.com/api/v1/json/ ... soccer.php

NOTE: Updated every 2mins (Don't abuse please)
by zag
Fri Feb 03, 2017 12:29 pm
Forum: Developers
Topic: API Tutorial
Replies: 4
Views: 22166

Re: API Tutorial

Images Preview Images Most of the time you won't want to download the original large image, just get a small preview. This is possible simple by adding "/preview" onto the end URL. This will give you a small 200px version. This will work with JPG images only. Original Image - http://www.t...
by zag
Fri Feb 03, 2017 12:29 pm
Forum: Developers
Topic: API Tutorial
Replies: 4
Views: 22166

Re: API Tutorial

Schedules Next 5 Events by Team Id thesportsdb.com/api/v1/json/{APIKEY}/eventsnext.php?id={teamid} http://www.thesportsdb.com/api/v1/json/1/eventsnext.php?id=133602 Next 15 Events by League Id thesportsdb.com/api/v1/json/{APIKEY}/eventsnextleague.php?id={leagueid} http://www.thesportsdb.com/api/v1/...
by zag
Fri Feb 03, 2017 12:28 pm
Forum: Developers
Topic: API Tutorial
Replies: 4
Views: 22166

Re: API Tutorial

Lookups League Details by Id thesportsdb.com/api/v1/json/{APIKEY}/lookupleague.php?id={leagueid} http://www.thesportsdb.com/api/v1/json/1/lookupleague.php?id=4346 League seasons by league Id thesportsdb.com/api/v1/json/{APIKEY}/lookupleague.php?id={leagueid}&s=all http://www.thesportsdb.com/api...
by zag
Fri Feb 03, 2017 11:32 am
Forum: Developers
Topic: API key
Replies: 1
Views: 217

Re: API key

Just reply in this thread with details

viewtopic.php?f=7&t=1813
by zag
Fri Feb 03, 2017 11:31 am
Forum: Developers
Topic: How to get an API key
Replies: 18
Views: 4042

How to get an API key

Quote this post and fill out the questions to apply for an API key :arrow: Application Name? :arrow: Personal or Public application? (If personal, you do not need an API key, use the developer key "1") :arrow: Approximate users? :arrow: Open-Source or Commercial? :arrow: What does your app...

Go to advanced search