Menu

New Battle.net-Api

CKlausi
2014-09-04
2014-10-08
  • CKlausi

    CKlausi - 2014-09-04

    Hey,
    are there any plans to update to the new battle.net API? See https://dev.battle.net/
    The old API will be available some time, but they already mentioned to shut it down as soon as the new API supports at least everything the old one has.

    Best regards
    Clausi

     
  • RustyDogma

    RustyDogma - 2014-09-10

    Aha.. came here to ask the same :D

     
  • Thomas Andersen

    Thomas Andersen - 2014-10-05

    Hi. I just noticed the same. I'll look into modifying to new API instead.
    Alot more info is available aswell. I might add some new stuff.

     
  • CKlausi

    CKlausi - 2014-10-06

    Nice to read that :D

     
  • Thomas Andersen

    Thomas Andersen - 2014-10-07

    Done. Check version 4.0

     
  • CKlausi

    CKlausi - 2014-10-08

    Nice thank you!
    Everything works fine as before, except for the emblem, it is created and can be viewed, but the script itself outputs a corrupted image. Already looked for whitespaces, there are some trailing spaces in some class files, I removed them but still no luck.
    Emblem debug outputs three lines:

    field: members
    field: achievements
    

    Last line is an empty one. I think there is some output done which should not be there?

    EDIT:
    Found it:
    CacheControl.class.php Line 107

    print "field: $field\n";
    

    Commented it out and now the image shows up :)

     

    Last edit: CKlausi 2014-10-08
  • Thomas Andersen

    Thomas Andersen - 2014-10-08

    New version 4.0.1.
    I removed some of the debug messages. For got those in 4.0

     

Log in to post a comment.