# Source Console Commands as JSON

**URL:** <https://forums.sourceruns.org/t/source-console-commands-as-json/2669>\
**Category:** General\
**Created:** [July 15, 2015, 8:08pm UTC](https://forums.sourceruns.org/t/source-console-commands-as-json/2669 "2015-07-15T20:08:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DemonStrate](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/demonstrate/32/10_2.png) [@DemonStrate](https://forums.sourceruns.org/u/DemonStrate)\
**Post date:** [July 15, 2015, 8:08pm UTC](https://forums.sourceruns.org/t/source-console-commands-as-json/2669/1 "2015-07-15T20:08:58Z")

</div>

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](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.

> **[ValveConsoleCommands-Groups.json](https://www.dropbox.com/s/uc9uoax7blw0lh0/ValveConsoleCommands-Groups.json)**
>
> Shared with Dropbox

---

<div class="post-metadata">

**Author:** ![traderain](https://b-cdn.sourceruns.org/user_avatar/forums.sourceruns.org/traderain/32/118_2.png) [@traderain](https://forums.sourceruns.org/u/traderain)\
**Post date:** [September 29, 2015, 8:40am UTC](https://forums.sourceruns.org/t/source-console-commands-as-json/2669/2 "2015-09-29T08:40:00Z")

</div>

Nice, have you made any progress regarding to this?
