Hi, I'm relatively new to Infinity; I've got both the Android app installed and I'm using the army builder via Chrome quite a lot. What I've thought would be really useful, is if we could search through every single unit much like you would do in a spreadsheet, where you could filter or sort by different characteristics etc. I know you can do this to some extent within the army builder now, but this is always limited by faction and doesn't quite allow for all the things you can do via spreadsheet - e.g. formulas, percentages etc. (yes I would go there ). It would really help me learn about all the units out there (not just in Aleph). Has anyone else thought of this and/or found a way to get to the raw data behind the army list builder - is there an API hidden somewhere? Thanks
I haven't really looked into how Army 6 is implemented, but I don't think there's an API that you can use. If you're not averse to doing some scripting of your own, the data I use for the MayaNet iPad army builder is available here in JSON format. It would take some work to turn it into a spreadsheet, but it's probably more accessible than scraping Army.
The project goes back many years and has had several owners but it’s all manually entered. We’re still in the process of updating with the latest NA2 stuff.
line 2746 of the merc_units.json file has an invalid trailing comma }, should be just } I think trying to validate / export the files through powershell and that one threw an error. I'll post my script when I'm done
There may be a couple of those; the tool I was using used to be much stricter but then with a version change defaulted to being permissive. There are some units that are represented in kind of weird ways, so if you run into any issues please feel free to PM me. Also if you have any minor bugfixes like that, feel free to submit a pull request on bitbucket and I'll incorporate them. Or just let me know and I'll fix them myself. :-)
I've managed to get a simple csv going (see the drive link below), but without any children unit types or costs yet. https://drive.google.com/open?id=1VF41VmtoULAC6vt1bH5hPSklfB_DcV-t Be warned - the powershell script is pretty fugly at the moment, so once I've finished getting the main functionality in there I'll have a go at refactoring it properly.
Finished! Sorry for the delay but been stuck in a hole at work releasing GDPR stuff - nightmare. Enjoy, hope it works for you all - let me know of any problems. https://drive.google.com/open?id=1VF41VmtoULAC6vt1bH5hPSklfB_DcV-t
Now comes the whole point in doing this - I've added "effective wounds", "visibility", "lieutenant" and "MSV" columns to the end of the dataset. It's currently sorted by ID, but becomes much more powerful if you start sorting by cost for example.
Hi. Sorry, but the link does not work anymore. Do you still use it, and if yes, could you provide a new link? It's a great tool and I was thinking of using it to sort/filter units I own and perhaps adding columns for which faction/sectorial the unit is available for.
Here's my version in Excel. I agree about seeing everything in a spread sheet. Makes a huge difference I think. Being able to filter by specialist, under 25pts, and 0 SWC, etc is fantastic. https://drive.google.com/open?id=13SbinjbEPveqmzMEPz9WazkVOc0o9v_j Edit: Sorry if it doesn't make sense on a few things. The first column is marked if it has a cube or not. Then there's a lot of abbreviations.