Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
moesoha committed Jun 8, 2017
1 parent d002c1d commit 90b4827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

十分简单,只需要以下步骤

$ npm install oiinhand-api
$ npm install oiinhand-sdk-axios

var OIHAPI=require('oiinhand-api');
var OIHAPI=require('oiinhand-sdk-axios');
var api=new OIHAPI('$apikey$','$apisecret$');

这是最简单的开始使用方法。在创建 OIHAPI 的实例时你还可以传入第三个参数,用于自行设置 OI in Hand 的 API 地址。例如:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oiinhand-sdk-axios",
"version": "1.0.1",
"version": "1.0.2",
"description": "The Node.js SDK for OI in Hand API",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 90b4827

Please sign in to comment.