These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Static data dump in JSON format (with parser)

Author
ItsmeHcK1
Immortalis Inc.
Shadow Cartel
#1 - 2012-10-16 15:28:31 UTC  |  Edited by: ItsmeHcK1
I ran into a little snag while developing my API checker; I had to include a lot of data from the static data dump, but lord knows nobody wants to download that whole thing...
So I made a little tool to turn the information I needed into JSON format.
Figured someone else will probably run into the same problem, so hopefully this helps you nerds.

Included in the archive:
  • EveDataEncoder - the tool I use to turn the MSSQL data into JSON (+ source)
  • EveData.cs - The parser and holder classes I made to represent said data in my application.
  • JSON files containing information about types, agents, stations, solar systems, regions and the skill requirements for items.

EveDataEncoder is easily modifyable with even the slightest knowledge of C#.
Note that it can only be used from the commandline. (Type "EveDataEncoder -h" for options.)

Download here

Most .js files are in the same format as the CCP DB; fieldname = fieldvalue.
The only difference is SkillRequirements.js, which is in format typeID -> (attribID = value, attribID = value)
For more information about those ID's, see the comments in Program.cs. (line 135)