PDA

View Full Version : For PROGRAMMERS: links to tote pool data


highnote
07-16-2018, 05:46 PM
It would be really helpful if people would post links to sites where tote data can be scraped or viewed. I've tried several over the years. The RacingChannel, Philly Park Phone Bet, and BRIS Supertote were the best. RC and PhoneBet closed my accounts because I am outside their jurisdiction and you can only view them if you log in. Supertote in HTML seems to have been discontinued. If it still exists please let us know!

I've tried DRF's tote feed, but it always seemed to be behind others. Maybe it has improved since the last time I tried a few months ago?

I've had some luck using this one and a log in is not required:

https://m.twinspires.com/php/fw/php_BRIS_BatchAPI/2.3/Tote/WPSFullPools?username=******&password=********&ip=********&affid=2800&affiliateId=2800&track=FL&type=Thoroughbred&race=7

You can change the Track Abbreviation and Race Number.

If you're doing Harness, you'll need to change the word Thoroughbred to whatever word they use for harness racing.

I'm not sure about Dog racing.

Also, you'll need to change WPSFullPools to the correct abbreviation for the other pools.

If I can find the key words for the other pools I'll post them here.

Any others you can post would be appreciated -- domestic or foreign.

PaceAdvantage
07-16-2018, 05:57 PM
I'm not sure if that was YOUR user name & password and IP address I just edited out of there...if it was, you need to be more careful.

highnote
07-16-2018, 06:13 PM
I'm not sure if that was YOUR user name & password and IP address I just edited out of there...if it was, you need to be more careful.

No. It wasn't mine. I think that is just the part of the standard URL they use for all their open source links.

But thanks for checking. Had me worried for a moment! Then I realized I don't have an account there. Whew!

However, now that link might not work since you've edited it. Maybe it doesn't matter what characters are entered?

Oh well. No big deal. I was just trying to help out other programmers. If someone wants it they can always PM me. I'm not going to post it again.

JJMartin
07-18-2018, 01:13 PM
It seems the edit made the link unusable.
Is there another means to arriving at that link?

highnote
07-18-2018, 01:32 PM
It seems the edit made the link unusable.
Is there another means to arriving at that link?


username=iphone&password=ru13juhyo&ip

JJMartin
07-18-2018, 01:38 PM
Not working, oh well.

highnote
07-18-2018, 01:42 PM
Not working, oh well.

It works for me.

https://m.twinspires.com/php/fw/php_BRIS_BatchAPI/2.3/Tote/WPSFullPools?username=iphone&password=ru13juhyo&ip=10.20.2.248&affid=2800&affiliateId=2800&track=FL&type=Thoroughbred&race=1

JerryBoyle
07-18-2018, 03:57 PM
I'm curious what they use that username/pass for. It's clearly not for an individual's account. Maybe it's based on the type of client e.g. iphone, browser, etc?

highnote
07-18-2018, 04:00 PM
I'm curious what they use that username/pass for. It's clearly not for an individual's account. Maybe it's based on the type of client e.g. iphone, browser, etc?

Maybe it's just a placeholder? I typed in xbox for the username and altered the password and it still works.

highnote
07-18-2018, 04:01 PM
Maybe it's just a placeholder? I typed in xbox for the username and altered the password and it still works.

https://m.twinspires.com/php/fw/php_BRIS_BatchAPI/2.3/Tote/WPSFullPools?username=xbox&password=r12uhyo&ip=10.20.2.248&affid=2800&affiliateId=2800&track=FL&type=Thoroughbred&race=1

<?xml version="1.0" encoding="ISO-8859-1"?>

-<ApiResponse>

<UTS>1531935680</UTS>

<Debug>off</Debug>


-<PoolTotals>


-<PoolTotal>

<PoolType>WN</PoolType>

<Amount>17372</Amount>

<Base>1</Base>

<Track>FL</Track>

<Type>Thoroughbred</Type>

<Race>1</Race>

</PoolTotal>


-<PoolTotal>

<PoolType>PL</PoolType>

<Amount>4904</Amount>

<Base>1</Base>

<Track>FL</Track>

<Type>Thoroughbred</Type>

<Race>1</Race>

</PoolTotal>


-<PoolTotal>

<PoolType>SH</PoolType>

<Amount>2657</Amount>

<Base>1</Base>

<Track>FL</Track>

<Type>Thoroughbred</Type>

<Race>1</Race>

</PoolTotal>

</PoolTotals>


-<PoolTotalsContext>

<Track>FL</Track>

<Type>Thoroughbred</Type>

<Race>1</Race>

</PoolTotalsContext>


-<WPSPools>

<Track>FL</Track>

<Type>Thoroughbred</Type>

<TotalsRace>2</TotalsRace>


-<Entries>


-<Entry>

<ProgramNumber>1</ProgramNumber>

<Win>-2</Win>

<Place>-2</Place>

<Show>-2</Show>

<WinPct>0.00</WinPct>

<PlacePct>0.00</PlacePct>

<ShowPct>0.00</ShowPct>

</Entry>


-<Entry>

<ProgramNumber>2</ProgramNumber>

<Win>2852</Win>

<Place>721</Place>

<Show>414</Show>

<WinPct>16.4</WinPct>

<PlacePct>14.7</PlacePct>

<ShowPct>15.6</ShowPct>

</Entry>


-<Entry>

<ProgramNumber>3</ProgramNumber>

<Win>3232</Win>

<Place>801</Place>

<Show>447</Show>

<WinPct>18.6</WinPct>

<PlacePct>16.3</PlacePct>

<ShowPct>16.8</ShowPct>

</Entry>


-<Entry>

<ProgramNumber>4</ProgramNumber>

<Win>2093</Win>

<Place>651</Place>

<Show>404</Show>

<WinPct>12.0</WinPct>

<PlacePct>13.3</PlacePct>

<ShowPct>15.2</ShowPct>

</Entry>


-<Entry>

<ProgramNumber>5</ProgramNumber>

<Win>2218</Win>

<Place>864</Place>

<Show>423</Show>

<WinPct>12.8</WinPct>

<PlacePct>17.6</PlacePct>

<ShowPct>15.9</ShowPct>

</Entry>


-<Entry>

<ProgramNumber>6</ProgramNumber>

<Win>6975</Win>

<Place>1865</Place>

<Show>967</Show>

<WinPct>40.2</WinPct>

<PlacePct>38.0</PlacePct>

<ShowPct>36.4</ShowPct>

</Entry>

</Entries>

<PctRace>2</PctRace>

</WPSPools>

</ApiResponse>

DeltaLover
07-18-2018, 06:51 PM
Looks hacky, incomplete and old fashioned! How difficult could had been to develop a RESTfull API with adequate documentation and complete interface? Obviously "they" do not care much about advancing the technology that drives the game.

Dave Schwartz
07-18-2018, 06:53 PM
Looks hacky, incomplete and old fashioned! How difficult could had been to develop a RESTfull API with adequate documentation and complete interface? Obviously "they" do not care much about advancing the technology that drives the game.

I would be surprised if this isn't closed down at some point.

DeltaLover
07-18-2018, 06:59 PM
I would be surprised if this isn't closed down at some point.

I agree and this is why I do not want to spend time on it.

Tom
07-18-2018, 09:42 PM
Looks hacky, incomplete and old fashioned! How difficult could had been to develop a RESTfull API with adequate documentation and complete interface? Obviously "they" do not care much about advancing the technology that drives the game.

What matters is does it work?

highnote
07-19-2018, 01:31 AM
I would be surprised if this isn't closed down at some point.

I thought the same with BRIS Supertote, but it lasted like 20 years.

I still would like to know the justification for shutting it down. It worked beautifully, was simple to use, easy to read, and it was in HTML which made it simple to import into betting software. Why close it down?

Oh wait. Maybe I just answered my own question. Now it makes sense.

It was closed down because it was simple to import the Supertote data into betting software.

If something is easy to use and is good for horseplayers it has to cease to exist.