Skip to content

Commit

Permalink
0.0514
Browse files Browse the repository at this point in the history
  • Loading branch information
justinzm committed May 14, 2021
1 parent 6465ddb commit b85a6f0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 13 deletions.
42 changes: 30 additions & 12 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ print(df)
- 豆瓣新片榜
- 豆瓣一周口碑榜
- 生活数据
- 老黄历
- 中国油价数据
- 汽柴油历史调价信息
- 调价日的地区油价历史数据
Expand Down Expand Up @@ -129,7 +130,10 @@ print(df)


#### 版本更新


0.3.5
生活数据: 老黄历

0.3.5
生活数据: 车站信息、车次时刻表

Expand Down
5 changes: 5 additions & 0 deletions gopup/pro/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ def query(self, api_name, fields=None, **kwargs):

def __getattr__(self, name):
return partial(self.query, name)


if __name__ == "__main__":
tmp = DataApi(token="64f1fad23b7533faea99afa317f53752").query(api_name="laohuangli")
print(tmp)

0 comments on commit b85a6f0

Please sign in to comment.