Reading an API

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
oddsmaestro
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?
User avatar
Dallas
Posts: 22731
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

oddsmaestro wrote:
Tue Jan 02, 2024 6:26 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=3
oddsmaestro
Posts: 22
Joined: Sun Mar 26, 2023 9:02 pm

Thx, is there a guide on how to construct such a worksheet?
sniffer66
Posts: 1681
Joined: Thu May 02, 2019 8:37 am

oddsmaestro wrote:
Tue Jan 02, 2024 6:26 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?
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 etc

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
User avatar
conduirez
Posts: 298
Joined: Tue May 23, 2023 8:25 pm

sniffer66 wrote:
Tue Jan 02, 2024 11:41 pm
oddsmaestro wrote:
Tue Jan 02, 2024 6:26 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?
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 etc

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.

I had never heard of Sofascore before, but wow, thanks sniffer66. :D
sniffer66
Posts: 1681
Joined: Thu May 02, 2019 8:37 am

conduirez wrote:
Wed Jan 03, 2024 8:40 am
sniffer66 wrote:
Tue Jan 02, 2024 11:41 pm
oddsmaestro wrote:
Tue Jan 02, 2024 6:26 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?
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 etc

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.

I had never heard of Sofascore before, but wow, thanks sniffer66. :D
Glad it helped :)

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
Post Reply

Return to “Bet Angel - Automation”