Skip to content

Commit 0203568

Browse files
committed
引入外部包
1 parent 064eff3 commit 0203568

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ ChinaAPI
33

44
###目前存在的API库:###
55
* 新浪微博:https://github.com/michaelliao/sinaweibopy
6-
* 腾讯微博:https://github.com/sempr/taobaopy
7-
* 淘宝:https://github.com/upbit/tweibo-pysdk
6+
* 腾讯微博:https://github.com/upbit/tweibo-pysdk
7+
* 淘宝:https://github.com/sempr/taobaopy

chinaapi/qq_weibo.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
# coding=utf-8
2+
from .packages.tweibo.oauth import OAuth2Handler
3+
from .packages.tweibo.tweibo import API, TWeiboError
4+
5+
6+
OAuth2Handler = OAuth2Handler
7+
APIClient = API
8+
APIError = TWeiboError

chinaapi/sina_weibo.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
# coding=utf-8
2+
from .packages.sinaweibopy.weibo import APIClient, APIError
3+
4+
5+
APIClient = APIClient
6+
APIError = APIError

chinaapi/taobao.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
# coding=utf-8
2+
from .packages.taobaopy.taobao import TaoBaoAPIClient, TaoBaoAPIError
3+
4+
5+
APIClient = TaoBaoAPIClient
6+
APIError = TaoBaoAPIError

0 commit comments

Comments
 (0)