Please turn on javascript in your browser to play chess.
www.redhotpawn.com - Play Online Chess

Forgot it?

Developers Forum

APIs / XML Access Points

Original post by Subscriber tomasino, 30 Oct '08 16:29
  1. Langhorne, PA
    Joined : 23 May '07
    Moves : 9992
    I scanned through all the pages in this forum looking to see if someone already asked this and I didn't see anything. If I overlooked a thread, I apologize and would love it if someone could point me in the right direction.

    I'm working on creating an Adobe Air application to access and use RHP. I've tracked down one very helpful XML access point that Russ mentioned in an earlier thread:
    http://www.chessatwork.com/xml/simple/gamefens_xml.php?gameid=382050
    This gives me 90% of the data I need to create the client interface. The only hurdles I have left are:

    - Getting a list of a users gameid's in progress.
    - Submitting a move.

    For the latter of these, I was intending to see if I can't piece together what information is sent back to the server and mimic that and the session through the Air app. The gameid's list, though, seems like something that would be really fitting for an XML access point. Perhaps a php script that returns XML like the FEN interface?

    Is something like this available, or could it be made? Screen-scraping seems like such a terrible path to go down.

    Also, if anybody has any other info that might be helpful, I'd love to hear it. Thanks!
    -tomasino
  2. ook
    hirsute rooster
    Joined : 13 Apr '05
    Moves : 13214
    Originally posted by tomasino
    I scanned through all the pages in this forum looking to see if someone already asked this and I didn't see anything. If I overlooked a thread, I apologize and would love it if someone could point me in the right direction.

    I'm working on creating an Adobe Air application to access and use RHP. I've tracked down one very helpful XML access point that Rus ...[text shortened]... anybody has any other info that might be helpful, I'd love to hear it. Thanks!
    -tomasino
    For making moves this thread might be useful Thread 98590? or not.

    For the game list - no harm in sending feedback and seeing if Russ / Chris can't either rig something up or point you to where this already exists.
    Feedback replies to your registered email address - not the RHP PM system - so remember to check your spam blockers.
  3. Joined : 25 Oct '06
    Moves : 5625
    Is there a public list of what is available under www.redhotpawn.com/xml/simple ? I'm working on a AJAX web app and would like to know what is available. Many thanks!
  4. I'm A Mighty Pirate™
    PaTROLLING the forum
    Joined : 01 Dec '04
    Moves : 36332
    Originally posted by POSER
    Is there a public list of what is available under www.redhotpawn.com/xml/simple ? I'm working on a AJAX web app and would like to know what is available. Many thanks!
    http://www.redhotpawn.com/xml/simple/clanchallenges_xml.php?clanid=###

    http://www.redhotpawn.com/xml/simple/clanchallenges_xml.php?clanid=###

    http://www.redhotpawn.com/xml/simple/playerstats_xml.php?uid=###

    http://www.redhotpawn.com/xml/simple/gamefens_xml.php?gameid=###


    What's the app you're working on?
  5. dabbler
    Norway
    Joined : 29 Jul '03
    Moves : 6839
    I also miss a list of a players games.

    Not sure if I have time to make the app I want yet, but I'm thinking about a app to find out how many percent of a given players moves that match what an engine would have done. Feed the FENs from game_fens.xml through an engine and see how often the next move matched what the engine suggested.
  6. Joined : 25 Oct '06
    Moves : 5625
    There is also:

    http://www.redhotpawn.com/xml/simple/gameswaitingcount_xml.php
  7. Joined : 03 Jul '05
    Moves : 5440
    question....
    how do you authenticate?
    and has anyone found a complete list of XML strings?

    Thanks
Back to Top