Author Topic: Live Rankings/Scoring (Research)  (Read 1215 times)

0 Members and 1 Guest are viewing this topic.

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #20 on: July 13, 2013, 03:16:13 PM »
Just to be sure I keep you all in touch with developments, ATP have encrypted their livescore xmls which are used on their scoreboard. My live rankings are now falling back to the ATP web page livescores, which sadly don't contain Challenger live scores. Challengers are now the only type of tournament not updated as matches finish. So far, no luck at finding an alternative.

Offline masterclass

  • Tennis Pro
  • *****
  • Posts: 366
Re: Live Rankings/Scoring (Research)
« Reply #21 on: July 14, 2013, 02:13:12 AM »
Ok Marv.  Encrypted, eh?  Oh well.  Probably too much trouble to decrypt the stream.  Thanks for the heads up.

What about those other live sources we noticed that also had challenger results?

Regards,
John
Legends of Tennis

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #22 on: July 14, 2013, 02:16:29 AM »
Ok Marv.  Encrypted, eh?  Oh well.  Probably too much trouble to decrypt the stream.  Thanks for the heads up.

What about those other live sources we noticed that also had challenger results?

Regards,
John

Gonna use them if I can't decrypt this. XML parsing was always easier than grabbing text from websites, but if it comes to that, I'd have no more choice. Just have to find a perfect stable website, that's all. :))

Offline masterclass

  • Tennis Pro
  • *****
  • Posts: 366
Re: Live Rankings/Scoring (Research)
« Reply #23 on: July 16, 2013, 10:25:13 AM »
I don't know if this will be of help to you, but it looks interesting.

If you use this url:  http://web1.xscores.com:5001/stream?s=2

You will get a result that looks something like this:

12678842|#u|12678842|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|5-5| - | - | - | - | - |Set1|live|1|1|2|0

This is the most recent score in the stream.

Then if you use the third element as a sequence marker in the url as follows, you will get all of the score(s) since that marker.
(The first element is the current or most recent sequence marker, should be the same as the last score in the list)

http://web1.xscores.com:5001/stream?s=2&seq=12678842

12679010|#u|12678844|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|0-4| - | - | - | - | - |Set1|live|0|1|2|0#u|12678846|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|3-1| - | - | - | - | - |Set1|live|1|1|1|0#u|12678847|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|5-6| - | - | - | - | - |Set1|live|1|1|1|0#u|12678848|951578|1373979600|WTA-S|AUT-GAS|24436|643|R32|MAYR-A. P. (AUT)|MRDEZA T. (CRO)|6-4|5-3| - | - | - |1-0|Set2|live|1|1|1|0#u|12678849|950944|1373980800|WTA-S|SWE-BAS|24437|640|R32|GAMIZ A. (VEN)|PIRONKOVA T. (BUL)|6-1|4-3| - | - | - |1-0|Set2|live|1|1|1|0#i|12678850|954088|1374048000|WTA-D|AUT-GAS|24380|643|QF|OLARU R./SOLOVYEVA V|KLEMENSCHITS S./KLEP| - | - | - | - | - | - |Sched|sched|0|1|0#u|12678851|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|0-1| - | - | - |1-0|Set2|live|0|1|1|0#u|12678852|950944|1373980800|WTA-S|SWE-BAS|24437|640|R32|GAMIZ A. (VEN)|PIRONKOVA T. (BUL)|6-1|5-3| - | - | - |1-0|Set2|live|1|1|1|0#u|12678853|951578|1373979600|WTA-S|AUT-GAS|24436|643|R32|MAYR-A. P. (AUT)|MRDEZA T. (CRO)|6-4|6-3| - | - | - |2-0|Fin|fin|0|1|0|0#u|12678854|951577|1373985600|WTA-S|AUT-GAS|24436|643|R32|PETKOVIC A. (GER)|MARTIC P. (CRO)| - | - | - | - | - | - |Sched|sched|1|1|0|0#u|12678856|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-6| - | - | - | - | - |Set1|live|1|1|0|0#u|12678857|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|0-0| - | - | - |0-1|Set2|live|0|1|1|0#i|12678858|954097|1374051600|ATP-S|GER-HAM|24310|500|R32|RAMOS A. (ESP)|FOGNINI F. (ITA)| - | - | - | - | - | - |Sched|sched|1|1|0#u|12678859|953852|1374051600|ATP-S|GER-HAM|24310|500|R32|SEPPI A. (ITA)|GRANOLLERS M. (ESP)| - | - | - | - | - | - |Sched|sched|1|1|0#u|12678860|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|3-2| - | - | - | - | - |Set1|live|1|1|2|0#u|12678861|951391|1373992800|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-0| - | - | - | - | - |Set1|live|0|1|2|0#u|12678862|950944|1373980800|WTA-S|SWE-BAS|24437|640|R32|GAMIZ A. (VEN)|PIRONKOVA T. (BUL)|6-1|6-3| - | - | - |2-0|Fin|fin|0|1|0|0#u|12678863|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|0-2| - | - | - |1-0|Set2|live|0|1|2|0#u|12678864|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|1-0| - | - | - |0-1|Set2|live|0|1|2|0#u|12678865|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|0-3| - | - | - |1-0|Set2|live|0|1|1|0#i|12678866|954103|1374051600|WTA-S|SWE-BAS|24437|640|R16|JOHANSSON M. (FRA)|GAMIZ A. (VEN)| - | - | - | - | - | - |Sched|sched|1|1|0#u|12678867|953702|1374051600|WTA-S|SWE-BAS|24437|640|R16|LARSSON J. (SWE)|BRATCHIKOVA N. (RUS)| - | - | - | - | - | - |Sched|sched|1|1|0#u|12678868|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.| - | - | - | - | - | - |Sched|sched|0|1|0|0#u|12678869|951391|1373989200|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-0| - | - | - | - | - |Set1|live|0|1|2|0#u|12678870|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-0| - | - | - | - | - |Set1|live|0|1|2|0#u|12678871|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-1| - | - | - | - | - |Set1|live|0|1|1|0#u|12678872|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|0-0| - | - | - | - | - |Set1|live|0|1|1|0#u|12678873|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|1-0| - | - | - | - | - |Set1|live|0|1|2|0#u|12678875|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|0-0| - | - | - |0-1|Set2|live|1|1|1|0#u|12678876|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|1-1| - | - | - |0-1|Set2|live|0|1|1|0#u|12678877|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|4-2| - | - | - | - | - |Set1|live|1|1|1|0#u|12678878|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|2-0| - | - | - | - | - |Set1|live|0|1|2|0#u|12678879|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-3| - | - | - |1-0|Set2|live|0|1|2|0#u|12678880|950916|1373977200|ATP-S|GER-HAM|24310|500|R64|ZEBALLOS H. (ARG)|RAMOS A. (ESP)|6-7|6-7| - | - | - |0-2|Fin|fin|0|1|0|0#u|12678881|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|2-1| - | - | - |0-1|Set2|live|0|1|2|0#u|12678882|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|5-2| - | - | - | - | - |Set1|live|1|1|2|0#u|12678883|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-2| - | - | - | - | - |Set1|live|0|1|2|0#u|12678884|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|3-0| - | - | - | - | - |Set1|live|0|1|1|0#u|12678885|951577|1373986800|WTA-S|AUT-GAS|24436|643|R32|PETKOVIC A. (GER)|MARTIC P. (CRO)| - | - | - | - | - | - |Sched|sched|1|1|0|0#u|12678886|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-4| - | - | - |1-0|Set2|live|0|1|1|0#u|12678887|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|0-1| - | - | - | - | - |Set1|live|0|1|2|0#u|12678888|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.| - | - | - | - | - | - |Sched|sched|0|1|0|0#u|12678889|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|0-0| - | - | - | - | - |Set1|live|0|1|1|0#u|12678890|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|3-1| - | - | - |0-1|Set2|live|0|1|1|0#u|12678891|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|1-0| - | - | - |0-1|Set2|live|1|1|2|0#u|12678892|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|0-1| - | - | - | - | - |Set1|live|0|1|2|0#u|12678893|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|5-3| - | - | - | - | - |Set1|live|1|1|1|0#u|12678895|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|3-1| - | - | - | - | - |Set1|live|0|1|2|0#u|12678896|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|1-1| - | - | - |0-1|Set2|live|1|1|1|0#u|12678897|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|4-1| - | - | - |0-1|Set2|live|0|1|2|0#u|12678898|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|0-2| - | - | - | - | - |Set1|live|0|1|1|0#u|12678899|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-5| - | - | - |1-0|Set2|live|0|1|2|0#u|12678900|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-3| - | - | - | - | - |Set1|live|0|1|1|0#u|12678901|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-4| - | - | - | - | - |Set1|live|0|1|2|0#u|12678902|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|0-2| - | - | - | - | - |Set1|live|0|1|2|0#u|12678903|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|6-3|0-0| - | - | - |1-0|Set2|live|1|1|2|0#u|12678904|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|0-0| - | - |1-1|Set3|live|0|1|2|2#u|12678905|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|0-3| - | - | - | - | - |Set1|live|0|1|1|0#u|12678906|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|5-1| - | - | - |0-1|Set2|live|0|1|1|0#u|12678907|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|4-1| - | - | - | - | - |Set1|live|0|1|1|0#u|12678908|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|1-2| - | - | - | - | - |Set1|live|0|1|2|0#u|12678918|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|1-1| - | - |1-1|Set3|live|0|1|1|2#u|12678919|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|0-5| - | - | - | - | - |Set1|live|0|1|1|0#u|12678920|951577|1373986500|WTA-S|AUT-GAS|24436|643|R32|PETKOVIC A. (GER)|MARTIC P. (CRO)|1-0| - | - | - | - | - |Set1|live|1|1|1|0#u|12678921|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|2-1| - | - |1-1|Set3|live|0|1|2|2#u|12678923|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|0-0| - | - |1-1|Set3|live|0|1|2|0#u|12678928|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|5-1| - | - | - | - | - |Set1|live|0|1|2|0#u|12678929|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|2-1| - | - | - |0-1|Set2|live|1|1|2|0#u|12678931|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|2-2| - | - | - | - | - |Set1|live|0|1|1|0#u|12678932|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|3-4| - | - |1-1|Set3|live|0|1|2|2#u|12678933|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|1-5| - | - | - | - | - |Set1|live|0|1|2|0#u|12678935|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|0-1| - | - |1-1|Set3|live|0|1|1|2#u|12678936|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|3-5| - | - |1-1|Set3|live|0|1|2|2#u|12678937|952726|1373990400|ATP-S|GER-HAM|24310|500|R32|TURSUNOV D. (RUS)|CHARDY J. (FRA)| - | - | - | - | - | - |Sched|sched|0|1|0|0#u|12678938|952726|1373989800|ATP-S|GER-HAM|24310|500|R32|TURSUNOV D. (RUS)|CHARDY J. (FRA)| - | - | - | - | - | - |Sched|sched|0|1|0|0#u|12678940|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|2-2| - | - |1-1|Set3|live|0|1|2|2#u|12678941|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|1-3| - | - | - | - | - |Set1|live|0|1|2|0#u|12678944|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|3-2| - | - |1-1|Set3|live|0|1|1|2#u|12678945|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|6-3|0-1| - | - | - |1-0|Set2|live|1|1|1|0#u|12678946|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|4-8| - | - |1-1|Set3|live|0|1|2|2#u|12678947|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|4-9| - | - |1-1|Set3|live|0|1|1|2#u|12678949|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|3-3| - | - |1-1|Set3|live|0|1|1|2#u|12678950|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|2-5| - | - | - | - | - |Set1|live|0|1|1|0#u|12678951|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|5-9| - | - |1-1|Set3|live|0|1|1|2#u|12678952|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|3-1| - | - | - |0-1|Set2|live|1|1|1|0#u|12678953|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|1-4| - | - | - | - | - |Set1|live|0|1|1|0#u|12678954|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|4-3| - | - |1-1|Set3|live|0|1|2|2#u|12678955|951388|1373984100|WTA-D|SWE-BAS|24404|640|R16|ARVIDSSON S./LARSSON|DUQUE-M. M./PEREIRA|6-1|1-6|5-10| - | - |1-2|Fin|fin|0|1|0|2#u|12678956|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|5-2| - | - | - | - | - |Set1|live|0|1|1|0#u|12678957|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|4-4| - | - |1-1|Set3|live|0|1|2|2#u|12678958|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|4-5| - | - |1-1|Set3|live|0|1|1|2#u|12678960|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|4-6| - | - |1-1|Set3|live|0|1|1|2#u|12678961|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|6-3|1-1| - | - | - |1-0|Set2|live|1|1|2|0#u|12678962|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|3-2| - | - | - | - | - |Set1|live|0|1|2|0#i|12678963|954147|1374051600|WTA-D|SWE-BAS|24404|640|QF|KUDRYAVTSEVA A./SAVC|DUQUE-M. M./PEREIRA| - | - | - | - | - | - |Sched|sched|0|1|0#u|12678964|952724|1373989800|ATP-S|GER-HAM|24310|500|R32|KAMKE T. (GER)|ALMAGRO N. (ESP)| - | - | - | - | - | - |Sched|sched|1|1|0|0#u|12678965|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|5-7| - | - |1-1|Set3|live|0|1|2|2#u|12678966|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|3-3| - | - | - | - | - |Set1|live|0|1|1|0#u|12678969|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|5-3| - | - | - | - | - |Set1|live|0|1|2|0#u|12678971|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|4-1| - | - | - |0-1|Set2|live|1|1|2|0#u|12678972|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|6-7| - | - |1-1|Set3|live|0|1|1|2#u|12678973|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|1-5| - | - | - | - | - |Set1|live|0|1|2|0#u|12678975|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|6-8| - | - |1-1|Set3|live|0|1|1|2#u|12678977|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|3-5| - | - | - | - | - |Set1|live|0|1|2|0#u|12678979|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|7-8| - | - |1-1|Set3|live|0|1|2|2#u|12678980|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|6-3| - | - | - | - |1-0|Set1|live|0|1|1|0#u|12678981|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|6-3|2-1| - | - | - |1-0|Set2|live|1|1|1|0#u|12678983|951577|1373986500|WTA-S|AUT-GAS|24436|643|R32|PETKOVIC A. (GER)|MARTIC P. (CRO)|1-1| - | - | - | - | - |Set1|live|1|1|2|0#u|12678985|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|1-6|0-0| - | - | - |0-1|Set2|live|0|1|1|0#u|12678987|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|8-9| - | - |1-1|Set3|live|0|1|1|2#u|12678988|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|4-3| - | - | - | - | - |Set1|live|0|1|2|0#u|12678990|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|9-9| - | - |1-1|Set3|live|0|1|1|2#u|12678991|951391|1373985600|WTA-D|SWE-BAS|24404|640|R16|COHEN J./JEGIOLKA J.|ARRUAB.-V. L./DOMING|3-6|0-0| - | - | - |0-1|Set2|live|0|1|1|0#u|12678992|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|9-10| - | - |1-1|Set3|live|0|1|2|2#u|12678994|950925|1373985000|ATP-D|GER-HAM|24238|500|R16|BRACCIALI D./FOGNINI|MARRERO D./VERDASCO|1-6|6-1|9-11| - | - |1-2|Fin|fin|0|1|0|2#u|12678998|950911|1373984100|ATP-S|GER-HAM|24310|500|R64|MONFILS G. (FRA)|GOLUBEV A. (KAZ)|6-3|3-1| - | - | - |1-0|Set2|live|1|1|2|0#u|12678999|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|1-6|0-1| - | - | - |0-1|Set2|live|0|1|2|0#u|12679000|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|6-3|0-0| - | - | - |1-0|Set2|live|0|1|1|0#u|12679001|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|6-3|0-1| - | - | - |1-0|Set2|live|0|1|2|0#u|12679002|951570|1373986200|WTA-D|AUT-GAS|24380|643|R16|BEGU I-C./SVITOLINA|HRDINOVA E./PEER S.|5-3| - | - | - | - | - |Set1|live|0|1|1|0#u|12679003|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|5-1| - | - | - |0-1|Set2|live|1|1|1|0#u|12679005|951577|1373986500|WTA-S|AUT-GAS|24436|643|R32|PETKOVIC A. (GER)|MARTIC P. (CRO)|2-1| - | - | - | - | - |Set1|live|1|1|1|0#u|12679008|950917|1373982300|ATP-S|GER-HAM|24310|500|R64|BERLOCQ C. (ARG)|BACHINGER M. (GER)|6-7|6-1|0-0| - | - |1-1|Set3|live|1|1|2|0#u|12679009|951837|1373985900|ATP-S|GER-HAM|24310|500|R32|MONTANES A. (ESP)|PAIRE B. (FRA)|1-6|0-2| - | - | - |0-1|Set2|live|0|1|1|0#u|12679010|951566|1373985000|WTA-D|AUT-GAS|24380|643|R16|CUROVIC T./SCHOLL|HONCOVA M./PERRIN C.|6-3|1-1| - | - | - |1-0|Set2|live|0|1|1|0


The data doesn't look difficult to surmise or parse, especially when you compare them to the human visual results by going to http://www.xscores.com/tennis#

Respectfully,
masterclass







« Last Edit: July 16, 2013, 10:35:37 AM by masterclass »
Legends of Tennis

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #24 on: July 16, 2013, 11:49:04 AM »
Thanks for that, General. Could be useful if the ATP direct data ever fails. Yet, it does not cover my current troubles, that come with Challengers. Challengers are the ones currently lacking a live update, yet those links do not provide data from Challengers. :(

Offline masterclass

  • Tennis Pro
  • *****
  • Posts: 366
Re: Live Rankings/Scoring (Research)
« Reply #25 on: July 17, 2013, 07:53:38 AM »
This url seems to get everything and returns 1 element XML <string>content</string>

megascores


Respectfully,
masterclass
« Last Edit: July 17, 2013, 07:55:25 AM by masterclass »
Legends of Tennis

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #26 on: July 17, 2013, 08:58:39 AM »
Seems useful, gonna try to see about parsing it... :)

Offline Alex

  • Tennis God
  • ******
  • Posts: 11997
  • Gender: Male
Re: Live Rankings/Scoring (Research)
« Reply #27 on: July 17, 2013, 09:13:34 AM »
If I hear that world 'general' one more time you can all go f*ck yourselves.

Emperor Alex here blah ...

I'm better than just a freaking general or even Marilyn Monroe  :innocent:
« Last Edit: July 17, 2013, 09:16:05 AM by Alex »

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #28 on: July 17, 2013, 09:22:26 AM »
Emperor of what... exactly...

Offline masterclass

  • Tennis Pro
  • *****
  • Posts: 366
Re: Live Rankings/Scoring (Research)
« Reply #29 on: July 17, 2013, 09:50:19 AM »
The string looks pretty friendly Sir Slasher.  Consists of name : value pairs separated by commas, and the names are pretty intuitive as to their function.  Should be relatively easy to parse this.  :))

{"ContestName" : "ATP - Hamburg","ShortName" : "Hamburg","SubContestId" : "1310003404","SportId" : "9",
               "SportName" : "tennis", "SportTranslation" : "tennis", "ContestGroup" : "94", "CName" : "Hamburg", "Country" : "GERMANY",
                    "Event":[{"EventId" : 1310190052,"Home" : "Seppi,Andreas","Away" : "Granollers,Marcel","HomeScore" : "1","AwayScore" : "2",
                          "ScoreHome1P" : "2","ScoreAway1P" : "6","ScoreHome2P" : "6","ScoreAway2P" : "1","ScoreHome3P" : "1","ScoreAway3P" : "6",
                          "ScoreHome4P" : "","ScoreAway4P" : "","ScoreHome5P" : "","ScoreAway5P" : "","Date" : "17-7 Wed","StartTime" : "11:10","Pair": "false",
                                 "Live" : false,"Tv" : 0,"CommentTranslation" : "Full Time","Comment" : "Full Time","LiveStream" : "False"},

Respectfully,
masterclass
                             
« Last Edit: July 17, 2013, 09:51:47 AM by masterclass »
Legends of Tennis

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #30 on: July 17, 2013, 10:03:20 AM »
Yeah, I'm looking through it right now. With the minor problems of trying to hardcode the livescore's parsing names (Chs for Challenger for instance), it looks good enough to try through. Of course, there is another drawback as they don't offer the round it is played in.

Offline masterclass

  • Tennis Pro
  • *****
  • Posts: 366
Re: Live Rankings/Scoring (Research)
« Reply #31 on: July 17, 2013, 10:08:30 AM »
True.  No round, no player ranking. Oh well.  I'll keep looking at the various free feeds.

Respectfully,
masterclass
Legends of Tennis

Offline monstertruck

  • Tennis God
  • ******
  • Posts: 12250
Re: Live Rankings/Scoring (Research)
« Reply #32 on: July 17, 2013, 12:30:18 PM »
Emperor of what... exactly...
Emperor of The North of course.

CONK da ball!!!

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #33 on: July 17, 2013, 12:43:23 PM »
OMG... Borgnine... yes please... :scared:

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #34 on: July 17, 2013, 03:45:07 PM »
I am waiting the response from a MTF friend that knows someone who has cracked the ATP scoreboard encryption. I hope he'll respond soon enough, although a fallback algorithm should also be implemented in case the encryption is ever changed. I'll keep looking for a clean enough livescore providing website. ;-()

Offline Slasher1985

  • Global Moderator
  • Tennis God
  • ******
  • Posts: 565
  • Gender: Male
  • Rankings Wizard
Re: Live Rankings/Scoring (Research)
« Reply #35 on: July 24, 2013, 04:49:00 AM »
I have solved the issue, but I will not make it public how. :)

Offline Litotes

  • Tennis God
  • ******
  • Posts: 686
  • Gender: Male
Re: Live Rankings/Scoring (Research)
« Reply #36 on: July 24, 2013, 06:21:49 AM »
Congrats! Impressive work  :))