Browse Source

Update README.md

yanwii 8 years ago
parent
commit
8e7d9ca5e3
1 changed files with 16 additions and 1 deletions
  1. 16 1
      README.md

+ 16 - 1
README.md

@@ -1,2 +1,17 @@
 # msxiaoiceapi
-微软小冰api msxiaoicapi
+  
+## 说明   
+需要  python3+ BeautifulSoup flask
+
+登陆微博 并将headers保存在根目录headers.txt中  
+确保已经领养小冰 这里我提供了一个测试账号
+
+## 使用
+    py xiaoiceapi.py
+    http://127.0.0.1:5000/?que=你是谁
+    
+    return:
+    {  
+    "status": "sucess",  
+    "text": "你都知道你还问[不屑脸],哈哈党"  
+    }