Jump to content
Game-Labs Forum

thewuif

Members2
  • Posts

    79
  • Joined

  • Last visited

Posts posted by thewuif

  1. Thanks for the data, makes things a lot easier for me, instead of relying on people to enter data into my site, I can use this.

     

    Although, I'd prefer pure JSON as opposed to JSONP, as not everyone uses pure Javascript, and I dislike the need to sanitize the data before parsing (also, if I was being picky, its not even truly valid JSONP anyway).

     

    JSONP:

    Callback(
        {
            "Hello": "World"
        }
    );
    

    Also, the UTF-8 issue is a bit of a deal breaker so far for me.

     

    Once at least the UTF-8 issue is resolved, I'll integrate this into my tool (https://www.navalaction.tools), and make a public API available for all data.

     

    In-case anyone is curious, I'm planning on creating a file hash from the json files, storing those in reddis and then on subsequent imports, creating a new hash and comparing to see if anything has changed before attempting a full blown import, and then using a differential algorithm to work out exactly what changed, so I have no need to perform a full loop of the data, although I'll have to create a benchmark to see the differences in time to see if the differential is necessary.

     

    i'm having the same problem with UTF-8 and the JSONP (would also prefere JSON). Also it would be nice to have a timestamp to know when the data was created.

×
×
  • Create New...