Site
Home / Forum / Developers / Football H2H

Football H2H


Posted: 04 Oct 2019 06:57

zag


Posts: 3,515
Joined: 2020

Hi,

Not sure if this would be possible, but would there be anyway that two teams last 5 fixtures against each other could be exposed?

Cheers!

Posted: 04 Oct 2019 08:49

zag


Posts: 3,515
Joined: 2020

Hmm thats an interesting one, so like a form guide vs the old team.

It should be possible, I can look into it.

Posted: 04 Oct 2019 19:29

zag


Posts: 3,515
Joined: 2020

Hmm thats an interesting one, so like a form guide vs the old team.

It should be possible, I can look into it.


Cheers!

Posted: 08 Oct 2019 14:45

zag


Posts: 3,515
Joined: 2020

Hi,

Not sure if this would be possible, but would there be anyway that two teams last 5 fixtures against each other could be exposed?

Cheers!


Initial front end implementation here on the left sidebar down a bit.

Let me know any issues and I should be able to create an API also.

https://www.thesportsdb.com/event/602208

Posted: 09 Oct 2019 18:05

zag


Posts: 3,515
Joined: 2020



Initial front end implementation here on the left sidebar down a bit.

Let me know any issues and I should be able to create an API also.

https://www.thesportsdb.com/event/602208


Looks really good to me mate! Just for reference, does it return max 3-5 games? (any number is fine, just thinking about design) . Be great to see an API then I can have a play my end! Cheers!

Posted: 10 Oct 2019 14:21

zag


Posts: 3,515
Joined: 2020

Currently its limited to 5 events. All depending on the history though Home and Away.

Posted: 10 Oct 2019 22:00

zag


Posts: 3,515
Joined: 2020

Perfect!

Posted: 18 Oct 2019 19:01

zag


Posts: 3,515
Joined: 2020

Hi mate,

Any news on the API for this?

Posted: 19 Oct 2019 09:55

zag


Posts: 3,515
Joined: 2020

Hi mate,

Any news on the API for this?


Sure can you try this:

https://www.thesportsdb.com/api/v1/json ... 9&a=135142

h = home Team ID
a = away Team ID

Posted: 19 Oct 2019 13:04

zag


Posts: 3,515
Joined: 2020



Sure can you try this:

https://www.thesportsdb.com/api/v1/json ... 9&a=135142

h = home Team ID
a = away Team ID



Will do! Cheers

Posted: 19 Oct 2019 13:38

zag


Posts: 3,515
Joined: 2020

Looks good to me! Seems to be working perfectly!

One thing however, if null or undefined is passed as a teamId, it seems to return:
Monopoli vs Akragas



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 11 (Total: 11)