{"action":"created","issue":{"url":"https://api.github.com/repos/node-webot/wechat-enterprise/issues/25","labels_url":"https://api.github.com/repos/node-webot/wechat-enterprise/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/node-webot/wechat-enterprise/issues/25/comments","events_url":"https://api.github.com/repos/node-webot/wechat-enterprise/issues/25/events","html_url":"https://github.com/node-webot/wechat-enterprise/issues/25","id":60314819,"number":25,"title":"文档没有更新，已经不能使用了。","user":{"login":"airyland","id":559179,"avatar_url":"https://avatars.githubusercontent.com/u/559179?v=3","gravatar_id":"","url":"https://api.github.com/users/airyland","html_url":"https://github.com/airyland","followers_url":"https://api.github.com/users/airyland/followers","following_url":"https://api.github.com/users/airyland/following{/other_user}","gists_url":"https://api.github.com/users/airyland/gists{/gist_id}","starred_url":"https://api.github.com/users/airyland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airyland/subscriptions","organizations_url":"https://api.github.com/users/airyland/orgs","repos_url":"https://api.github.com/users/airyland/repos","events_url":"https://api.github.com/users/airyland/events{/privacy}","received_events_url":"https://api.github.com/users/airyland/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-09T09:01:28Z","updated_at":"2015-03-10T07:06:35Z","closed_at":"2015-03-09T09:47:59Z","body":"http://node-webot.github.io/wechat-enterprise/api.html#api_api_common\r\n\r\n`The API property deprecated, Use require(\"wechat-api\") instead`\r\n\r\n然后更换成`wechat-api`同样报错不能使用\r\n\r\n````javascript\r\nvar API = require('wechat-api');\r\nvar api = new API('wx*****', '******', '6');\r\n\r\napi.getLatestToken(function(err,token){\r\n\tconsole.log(err,token);\r\n});\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/node-webot/wechat-enterprise/issues/comments/78005272","html_url":"https://github.com/node-webot/wechat-enterprise/issues/25#issuecomment-78005272","issue_url":"https://api.github.com/repos/node-webot/wechat-enterprise/issues/25","id":78005272,"user":{"login":"JacksonTian","id":327019,"avatar_url":"https://avatars.githubusercontent.com/u/327019?v=3","gravatar_id":"","url":"https://api.github.com/users/JacksonTian","html_url":"https://github.com/JacksonTian","followers_url":"https://api.github.com/users/JacksonTian/followers","following_url":"https://api.github.com/users/JacksonTian/following{/other_user}","gists_url":"https://api.github.com/users/JacksonTian/gists{/gist_id}","starred_url":"https://api.github.com/users/JacksonTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacksonTian/subscriptions","organizations_url":"https://api.github.com/users/JacksonTian/orgs","repos_url":"https://api.github.com/users/JacksonTian/repos","events_url":"https://api.github.com/users/JacksonTian/events{/privacy}","received_events_url":"https://api.github.com/users/JacksonTian/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T07:06:35Z","updated_at":"2015-03-10T07:06:35Z","body":"http://doxmate.cool "}}