Reading an API
-
- Posts: 22
- Joined: Sun Mar 26, 2023 9:02 pm
Hello. Can Bet Angel read an API to get scores into it when Betfair scores does not work. Getting BA to import live scores using an API?
viewtopic.php?f=20&t=28523&start=3oddsmaestro wrote: ↑Tue Jan 02, 2024 6:26 pmHello. Can Bet Angel read an API to get scores into it when Betfair scores does not work. Getting BA to import live scores using an API?
-
- Posts: 22
- Joined: Sun Mar 26, 2023 9:02 pm
Thx, is there a guide on how to construct such a worksheet?
The short answer is yes. You can query the free Sofascore API and pass the score values into BA via it's own API. For football it works quite well and you can pass other values in, such as Shots on target, pressure data, cards, possession etcoddsmaestro wrote: ↑Tue Jan 02, 2024 6:26 pmHello. Can Bet Angel read an API to get scores into it when Betfair scores does not work. Getting BA to import live scores using an API?
However, for tennis you might struggle due to the speed the points are played and how fast the data is posted, how fast you can query it and how fast you can pass it to BA. It's doable, but would take some decent coding knowledge, you can't do it directly in BA so would need to use something like Python
You Know what, this is one of those times browsing forum gives a unique piece of info that turns out to be a golden nugget.sniffer66 wrote: ↑Tue Jan 02, 2024 11:41 pmThe short answer is yes. You can query the free Sofascore API and pass the score values into BA via it's own API. For football it works quite well and you can pass other values in, such as Shots on target, pressure data, cards, possession etcoddsmaestro wrote: ↑Tue Jan 02, 2024 6:26 pmHello. Can Bet Angel read an API to get scores into it when Betfair scores does not work. Getting BA to import live scores using an API?
However, for tennis you might struggle due to the speed the points are played and how fast the data is posted, how fast you can query it and how fast you can pass it to BA. It's doable, but would take some decent coding knowledge, you can't do it directly in BA so would need to use something like Python
I had never heard of Sofascore before, but wow, thanks sniffer66.
Glad it helpedconduirez wrote: ↑Wed Jan 03, 2024 8:40 amYou Know what, this is one of those times browsing forum gives a unique piece of info that turns out to be a golden nugget.sniffer66 wrote: ↑Tue Jan 02, 2024 11:41 pmThe short answer is yes. You can query the free Sofascore API and pass the score values into BA via it's own API. For football it works quite well and you can pass other values in, such as Shots on target, pressure data, cards, possession etcoddsmaestro wrote: ↑Tue Jan 02, 2024 6:26 pmHello. Can Bet Angel read an API to get scores into it when Betfair scores does not work. Getting BA to import live scores using an API?
However, for tennis you might struggle due to the speed the points are played and how fast the data is posted, how fast you can query it and how fast you can pass it to BA. It's doable, but would take some decent coding knowledge, you can't do it directly in BA so would need to use something like Python
I had never heard of Sofascore before, but wow, thanks sniffer66.
I posted some code here a while ago, showing how to pull the data from the Sofascore API and pass it to BA. That will give you an idea, and a start, on what can be done to get the data into BA
viewtopic.php?f=50&t=25395