The bang syntax is really independent of the duckduckhack plugin platform. For new bang or bang improvements, check out https://duckduckgo.com/newbang.html
However, if would work as a good fathead plugin if you scraped the pieces of the api you wanted to exact match, e.g. function names.
Then you could just type in
And get an instant answer without ever having to go to the site, and you could tie it to the exact right url for more clicks.