Source Console Commands as JSON


#1

I’m in the process of writing a program to bind keys for video games. At first, I’m only doing Source engine games. In that regard, I’d like to have a ‘smart complete’ when you are trying to select a command to bind. I’ve taken this site and converted the HTML tables to JSON. I’ll be using the JSON to feed into my program.

https://developer.valvesoftware.com/wiki/Console_Command_List

Here is the current JSON. For my program, I’m probably going to flatten the set of results into a single table, but I figured I’d post what I have so far with each table as a separate grouping. I’m going to attempt to make an autocomplete that is a bit smarter than Valve’s current console autocomplete. Here is the JSON if anyone is interested.


#2

Nice, have you made any progress regarding to this?