Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
netpi committed Jan 16, 2015
1 parent 0b820e8 commit eef8bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -26,3 +26,5 @@ node_modules

# Users Environment Variables
.lock-wscript
# mac
.Ds_Store
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -19,7 +19,6 @@ var Dota2Api = require('dota').dota2api;
var key = 'your key'; //Your personal API key (from above)
var language = 'zh_CN';// The language to retrieve results in (default is en_us) (see http://en.wikipedia.org/wiki/ISO_639-1 for the language codes (first two characters) and http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for the country codes (last two characters))
var format = 'JSON' The format to retrieve results in ("JSON" or "XML")
var doa2api = new Dota2Api('your key','zh_CN','JSON');

var dota2api = new Dota2Api(key,language,format)

Expand Down

0 comments on commit eef8bf1

Please sign in to comment.