{ "info": { "author": "", "author_email": "zhangruinan@smoothnlp.com", "bugtrack_url": null, "classifiers": [], "description": "# smoothnlp_api\n\u516c\u5171\u6570\u636eAPI\u670d\u52a1\n\n## Install \u5b89\u88c5\n```bash\npip install smoothnlp_api>=0.1.5\n```\n\n## Usage \u4f7f\u7528\n**Set Up**\n```python\nimport smoothnlp_api\nsmoothnlp_api.config.setAuth(\" YOUR Secret ID \", ## \u914d\u7f6e\u79d8\u94a5\n \" YOUR Secret KEY \")\n```\n\n**Call API**\n```python\n## \u521b\u5efa\u5bf9\u5e94\u7684 API Instance\napi_instance = smoothnlp_api.InvestmentApi()\n\n## \u914d\u7f6e\u8c03\u7528Query\u53c2\u6570\nparam = {\"year\":\"2019\"} ## \u6ce8\u610f, \u4e0d\u540c\u53c2\u6570\u53ef\u80fd\u4e0d\u540c, \u5177\u4f53\u8be6\u60c5\u8bf7\u53c2\u89c1\u63a5\u53e3\u6587\u6863\napi_response = api_instance.get_investment(param) ## \u8fd4\u56de\u7ed3\u679c\u4e3aparse\u597d\u7684json\u683c\u5f0f, \u5927\u90e8\u5206\u4e3apython\u539f\u751fdict\n```\n\n\n## APIs \u63a5\u53e3\u8be6\u60c5\n\n#### \u6295\u8d44\u4e8b\u4ef6\n`smoothnlp_api.InvestmentApi()`[\u5177\u4f53\u6587\u6863](http://doc.smoothnlp.com/web/#/p/4072db16dc854ef182561a8c75b6f6b6) | [\u8d2d\u4e70](https://market.cloud.tencent.com/preview/16168)\n\n**\u53c2\u6570:** \n\n\u540d\u79f0 | \u7c7b\u578b | \u63cf\u8ff0 | \u5fc5\u586b | \u9ed8\u8ba4\u503c\n------------- | ------------- | ------------- | ------------- | -------------\n **cate1** | **str**| \u884c\u4e1a\u4e00\u7ea7\u7c7b\u76ee | \u5426 | \n **cate2** | **str**| \u884c\u4e1a\u4e8c\u7ea7\u7c7b\u76ee | \u5426 | \n **company_name** | **str**| \u4f01\u4e1a\u5de5\u5546\u540d\u79f0 | \u5426 | \n **product_name** | **str**| \u9879\u76ee\u540d\u79f0 | \u5426 | \n **year** | **str**| \u878d\u8d44\u5e74\u4efd, \u5982: 2019 | \u5426 | \n \n **\u6ce8:**\n* \u76ee\u524d\u652f\u6301\u7684\u884c\u4e1a\u4ee5\u53ca\u7c7b\u76ee\u6709: '\u91d1\u878d', '\u65c5\u6e38', '\u5e7f\u544a\u8425\u9500', '\u6559\u80b2', '\u65b0\u5de5\u4e1a', '\u672c\u5730\u751f\u6d3b', '\u533b\u7597\u5065\u5eb7', '\u623f\u4ea7\u670d\u52a1', '\u7535\u5b50\u5546\u52a1', '\u5de5\u5177\u8f6f\u4ef6', '\u6587\u5a31\u4f20\u5a92', '\u786c\u4ef6', '\u793e\u4ea4\u7f51\u7edc', '\u519c\u4e1a', '\u4f53\u80b2\u8fd0\u52a8', '\u6e38\u620f', '\u7269\u6d41', '\u6c7d\u8f66\u4ea4\u901a', '\u4f01\u4e1a\u670d\u52a1'\n* \u9ed8\u8ba4\u5355\u6b21\u8fd4\u56de\u6700\u591a5\u6761\u6570\u636e. \n\n---------\n\n#### \u65b0\u95fb\u8d44\u8baf\n`smoothnlp_api.NewsApi()` | [\u5177\u4f53\u6587\u6863](http://doc.smoothnlp.com/web/#/p/e42fdc345ca760e9a9b207ea77a8ac3c) | [\u8d2d\u4e70](https://market.cloud.tencent.com/products/15366)\n\n**\u53c2\u6570:**\n\n\u540d\u79f0 | \u7c7b\u578b | \u63cf\u8ff0 | \u5fc5\u586b | \u9ed8\u8ba4\u503c\n------------- | ------------- | ------------- | ------------- | -------------\n **company_kw** | **str**| \u516c\u53f8\u7b80\u79f0\u6216\u5168\u79f0 | \u662f | \u817e\u8baf \n **start_date** | **str**| \u5f00\u59cb\u65e5\u671f | \u5426 | 2019-06-01\n **end_date** | **str**| \u63a5\u5165\u65e5\u671f | \u5426 | 2020-12-30\n **offset** | **int**| \u5f00\u59cb\u6761\u6570 | \u5426 | \n **limit** | **int**| \u8fd4\u56de\u6761\u6570 | \u5426 | \n \n **\u793a\u4f8b**\n```python\n>> import smoothnlp_api\n>> api_instance = smoothnlp_api.NewsApi()\n>> api_instance.get_company_news(company_kw=\"\u963f\u91cc\u5df4\u5df4\")\n```\n\n-------------\n\n#### \u4f01\u4e1a\u5de5\u5546\n`smoothnlp_api.CompanyApi()` | [\u5177\u4f53\u6587\u6863](http://doc.smoothnlp.com/web/#/p/c18fa97554fd4220bee162e1f4d948f8)\n\n**\u53c2\u6570**\n\n\u540d\u79f0 | \u7c7b\u578b | \u63cf\u8ff0 | \u5fc5\u586b | \u9ed8\u8ba4\u503c\n------------- | ------------- | ------------- | ------------- | -------------\n **name** | **str**| \u516c\u53f8(\u5de5\u5546)\u540d\u79f0 | \u662f | \n \n**\u793a\u4f8b**\n```python\n>> import smoothnlp_api\n>> api_instance = smoothnlp_api.CompanyApi()\n>> api_instance.get_company_fuzzy(name='\u4eca\u65e5\u5934\u6761')\n>> api_instance.get_company_exact(name=\"\u6df1\u5733\u5e02\u817e\u8baf\u8ba1\u7b97\u673a\u7cfb\u7edf\u6709\u9650\u516c\u53f8\")\n\n```\n \n \n\n\n# \u58f0\u660e\n> \u5982\u679c\u4f60\u5bf9\u4ee5\u4e0a\u6570\u636eAPI\u611f\u5174\u8da3, \u6211\u4eec\u5bf9**\u5b66\u672f\u7814\u7a76**\u5f00\u653e\u6211\u4eec\u7684\u6570\u636e, \u6b22\u8fce\u8054\u7cfb:contact@smoothnlp.com; \u6211\u4eec\u5c06\u514d\u8d39\u5206\u914d\u4f60\u5bf9\u5e94\u63a5\u53e3\u7684*\u79d8\u94a5*\n\n> \u5546\u52a1\u5408\u4f5c\u8bf7\u8054\u7cfb business@smoothnlp.com", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/smoothnlp/smoothnlp_api", "keywords": "Swagger,data,api", "license": "", "maintainer": "", "maintainer_email": "", "name": "smoothnlp-api", "package_url": "https://pypi.org/project/smoothnlp-api/", "platform": "", "project_url": "https://pypi.org/project/smoothnlp-api/", "project_urls": { "Homepage": "https://github.com/smoothnlp/smoothnlp_api" }, "release_url": "https://pypi.org/project/smoothnlp-api/0.1.5/", "requires_dist": null, "requires_python": "", "summary": "Investment", "version": "0.1.5" }, "last_serial": 5841703, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "8e397e7da132cf197eecc740ca25cac2", "sha256": "4b62bb4b249c7fc8f3448550387545f7184c3843e396a6b697fab9a8d93b3c01" }, "downloads": -1, "filename": "smoothnlp_api-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8e397e7da132cf197eecc740ca25cac2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17016, "upload_time": "2019-09-03T03:08:43", "url": "https://files.pythonhosted.org/packages/19/0c/247b016a1226596b6556068aa3a45076fe8b51fb7e8760f82fe09660892e/smoothnlp_api-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2be0241b8853318287521846147cb0cb", "sha256": "60158363ac4d3ffd88a59046529889595cc4474493319d7c64e3f95dfe066e07" }, "downloads": -1, "filename": "smoothnlp_api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2be0241b8853318287521846147cb0cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12370, "upload_time": "2019-09-03T03:08:46", "url": "https://files.pythonhosted.org/packages/7f/81/2a469d3359ee2758be7fc1b5af74cfaf46a04726b3980cb53ffe7be92576/smoothnlp_api-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e8a5ddb4e09c989576f012d51abbc5ae", "sha256": "a6d519cda89fb2d01befba1074d24ea783605266498605512e98ac5f97a5b49f" }, "downloads": -1, "filename": "smoothnlp_api-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e8a5ddb4e09c989576f012d51abbc5ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18761, "upload_time": "2019-09-03T07:49:30", "url": "https://files.pythonhosted.org/packages/73/9f/ac0df6c3831f4116c31ce095cb03943d0c0d71ed7d30c47c438c6f6cad33/smoothnlp_api-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab7ee384bb5ba5a9b70e915dd585c11c", "sha256": "512fc9b7efa0356eda2962c82fbf1c7a2b7c4a89a19c172b287d1d678a60891d" }, "downloads": -1, "filename": "smoothnlp_api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ab7ee384bb5ba5a9b70e915dd585c11c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12970, "upload_time": "2019-09-03T07:49:33", "url": "https://files.pythonhosted.org/packages/57/41/848d8520e6570ad4055e504565a6a0e7a5b0651a6ce8bcbae75eabe6f2c4/smoothnlp_api-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "32ca86d146a892bc68a27dcda51a36d9", "sha256": "c02152883e639aa6821af72fded244cf0d76eb24de521e7b8fbdfdc2ce74326d" }, "downloads": -1, "filename": "smoothnlp_api-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "32ca86d146a892bc68a27dcda51a36d9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18737, "upload_time": "2019-09-03T08:44:20", "url": "https://files.pythonhosted.org/packages/8f/be/32a837d5424fb8e15918b719c45bc37e7898a042fd5742b6906cc1eafda5/smoothnlp_api-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "116fa0eecd0de099aa73c6f44508dc7d", "sha256": "700f178f8f4c59813071c8043f0071adf624d9ecf36ade535c8307f38d673cbe" }, "downloads": -1, "filename": "smoothnlp_api-0.1.3.tar.gz", "has_sig": false, "md5_digest": "116fa0eecd0de099aa73c6f44508dc7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12946, "upload_time": "2019-09-03T08:44:24", "url": "https://files.pythonhosted.org/packages/55/a2/979ad4b64b9b96061778875b13a2450e029bdfec433e8f84c20ce025de0d/smoothnlp_api-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "701628edd1743cdcbb4c8e7e6fa7861d", "sha256": "93bcf3e5897f07102bbaa30fd485f0b00d7bcd1e42fbc39863aa91de590664f7" }, "downloads": -1, "filename": "smoothnlp_api-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "701628edd1743cdcbb4c8e7e6fa7861d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 33449, "upload_time": "2019-09-06T10:21:44", "url": "https://files.pythonhosted.org/packages/a0/38/2515068b090441a1f309bfe001e80a220a84665def8578aa0025c61abe98/smoothnlp_api-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dc0f3041d3272439674e9a7fd95fb9a1", "sha256": "790ff69a375ce181bdf07bd7d11e36719b8088499981f27f0562fc1fe8430506" }, "downloads": -1, "filename": "smoothnlp_api-0.1.4.tar.gz", "has_sig": false, "md5_digest": "dc0f3041d3272439674e9a7fd95fb9a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16432, "upload_time": "2019-09-06T10:21:47", "url": "https://files.pythonhosted.org/packages/94/93/b6302d16d3144f6421d707741af261b0b5d8c9c33b018c98d677ab237c27/smoothnlp_api-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "b9ddc594b790913f72e4435cc2fbaab1", "sha256": "cf12a95bdfa1881b941e2fad84e7085b15f4334a757d4e1ec0837ad6f381f80c" }, "downloads": -1, "filename": "smoothnlp_api-0.1.5.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "b9ddc594b790913f72e4435cc2fbaab1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29604, "upload_time": "2019-09-17T13:20:11", "url": "https://files.pythonhosted.org/packages/f9/c4/f8f239d33384024acb336138c090100910f4ac4912e46a8837563a77c430/smoothnlp_api-0.1.5.linux-x86_64.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9ddc594b790913f72e4435cc2fbaab1", "sha256": "cf12a95bdfa1881b941e2fad84e7085b15f4334a757d4e1ec0837ad6f381f80c" }, "downloads": -1, "filename": "smoothnlp_api-0.1.5.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "b9ddc594b790913f72e4435cc2fbaab1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29604, "upload_time": "2019-09-17T13:20:11", "url": "https://files.pythonhosted.org/packages/f9/c4/f8f239d33384024acb336138c090100910f4ac4912e46a8837563a77c430/smoothnlp_api-0.1.5.linux-x86_64.tar.gz" } ] }