# ipysnowball
===============
## quick start
```python
>>> import ipysnowball as ball
>>> ball.set_token('xq_a_token=651af***************031c96a315c;')
'xq_a_token=651af***************031c96a315c;'
>>> ball.cash_flow('SH600000')
```
```json
{
'data': {
'quote_name': '浦发银行',
'currency_name': '人民币',
'org_type': 2,
'last_report_name': '2018三季报',
'currency': 'CNY',
'list': [{
'report_date': 1514649600000,
'report_name': '2017年报',
'ncf_from_oa': [-140673000000.0, 0.26730141203064695],
'ncf_from_ia': [37800000000.0, 1.590486604702023],
'ncf_from_fa': [4820000000.0, -0.9794317706599756
]
}, {
'report_date': 1483113600000,
'report_name': '2016年报',
'ncf_from_oa': [-191993000000.0, -1.5350677219775932],
'ncf_from_ia': [-64015000000.0, 0.8794943714468582
],
'ncf_from_fa': [234342000000.0, -0.042650194867269654]
}, {
'report_date': 1451491200000,
'report_name': '2015年报',
'ncf_from_oa': [358820000000.0, 0.8770859707676373],
'ncf_from_ia': [-531220000000.0, -0.5512111080287921],
'ncf_from_fa': [244782000000.0, 2.357915963619902]
}, {
'report_date': 1419955200000,
'report_name': '2014年报',
'ncf_from_oa': [191158000000.0, -0.3801741859756295],
'ncf_from_ia': [-342455000000.0, -0.08702069578466226],
'ncf_from_fa ': [72897000000.0, 4.966967784066173]
}, {
'report_date ': 1388419200000,
'report_name ': '2013 年报 ',
'ncf_from_oa ': [308406000000.0, 2.3313098144267537],
'ncf_from_ia ': [-315040000000.0, -1.2059925355889953],
'ncf_from_fa ': [-18376000000.0, -1.6123496284447998]
}
]},
'error_code ': 0,
'error_description': ''
}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/issaTan/pysnowball",
"name": "ipysnowball",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Financial Data,XueQiu,Snow Ball,\u96ea\u7403,Python Api",
"author": "IssaTan",
"author_email": "tanxinhao.1990@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/eb/bc/a55b9f765694a99d147e61dd7c00721957c0ba94bdec597c041946cd3368/ipysnowball-1.0.4.tar.gz",
"platform": null,
"description": "\n# ipysnowball\n===============\n\n## quick start\n\n```python\n>>> import ipysnowball as ball\n>>> ball.set_token('xq_a_token=651af***************031c96a315c;')\n'xq_a_token=651af***************031c96a315c;'\n>>> ball.cash_flow('SH600000')\n```\n\n```json\n{\n 'data': {\n 'quote_name': '\u6d66\u53d1\u94f6\u884c',\n 'currency_name': '\u4eba\u6c11\u5e01',\n 'org_type': 2,\n 'last_report_name': '2018\u4e09\u5b63\u62a5',\n 'currency': 'CNY',\n 'list': [{\n 'report_date': 1514649600000,\n 'report_name': '2017\u5e74\u62a5',\n 'ncf_from_oa': [-140673000000.0, 0.26730141203064695],\n 'ncf_from_ia': [37800000000.0, 1.590486604702023],\n 'ncf_from_fa': [4820000000.0, -0.9794317706599756\n ]\n }, {\n 'report_date': 1483113600000,\n 'report_name': '2016\u5e74\u62a5',\n 'ncf_from_oa': [-191993000000.0, -1.5350677219775932],\n 'ncf_from_ia': [-64015000000.0, 0.8794943714468582\n ],\n 'ncf_from_fa': [234342000000.0, -0.042650194867269654]\n }, {\n 'report_date': 1451491200000,\n 'report_name': '2015\u5e74\u62a5',\n 'ncf_from_oa': [358820000000.0, 0.8770859707676373],\n 'ncf_from_ia': [-531220000000.0, -0.5512111080287921],\n 'ncf_from_fa': [244782000000.0, 2.357915963619902]\n }, {\n 'report_date': 1419955200000,\n 'report_name': '2014\u5e74\u62a5',\n 'ncf_from_oa': [191158000000.0, -0.3801741859756295],\n 'ncf_from_ia': [-342455000000.0, -0.08702069578466226],\n 'ncf_from_fa ': [72897000000.0, 4.966967784066173]\n }, {\n 'report_date ': 1388419200000,\n 'report_name ': '2013 \u5e74\u62a5 ',\n 'ncf_from_oa ': [308406000000.0, 2.3313098144267537], \n 'ncf_from_ia ': [-315040000000.0, -1.2059925355889953],\n 'ncf_from_fa ': [-18376000000.0, -1.6123496284447998]\n }\n ]}, \n 'error_code ': 0, \n 'error_description': ''\n }\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "\u539f\u7248\u96ea\u7403Python API pysnowball \u7684\u4fee\u6539",
"version": "1.0.4",
"project_urls": {
"Homepage": "https://github.com/issaTan/pysnowball"
},
"split_keywords": [
"financial data",
"xueqiu",
"snow ball",
"\u96ea\u7403",
"python api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4f11ddedb517ddc7b0e8ea40f809ad961a8e1929ef3c32a297a6dd7849f198f1",
"md5": "f77db950a215eb36a97021b8b6e47c73",
"sha256": "ffdb0aad57aeaf872f852563f758d12d62b01d66034b96c03afeae6c031ddcd8"
},
"downloads": -1,
"filename": "ipysnowball-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f77db950a215eb36a97021b8b6e47c73",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16093,
"upload_time": "2023-07-19T10:07:51",
"upload_time_iso_8601": "2023-07-19T10:07:51.863640Z",
"url": "https://files.pythonhosted.org/packages/4f/11/ddedb517ddc7b0e8ea40f809ad961a8e1929ef3c32a297a6dd7849f198f1/ipysnowball-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ebbca55b9f765694a99d147e61dd7c00721957c0ba94bdec597c041946cd3368",
"md5": "52caa1e31a9fd9c71f15cb41c48752e2",
"sha256": "9f2f2b8222375fb27b2b56604b88e0303c613190c484a67f982b8cabf9d23f8c"
},
"downloads": -1,
"filename": "ipysnowball-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "52caa1e31a9fd9c71f15cb41c48752e2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28216,
"upload_time": "2023-07-19T10:07:56",
"upload_time_iso_8601": "2023-07-19T10:07:56.962491Z",
"url": "https://files.pythonhosted.org/packages/eb/bc/a55b9f765694a99d147e61dd7c00721957c0ba94bdec597c041946cd3368/ipysnowball-1.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-19 10:07:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "issaTan",
"github_project": "pysnowball",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ipysnowball"
}