EastMoney-1.0.0
توضیحات
Retrieve A-share information from EastMoney for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | EastMoney-1.0.0 |
| نام | EastMoney |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hurin Hu |
| ایمیل نویسنده | hurin@live.ca |
| آدرس صفحه اصلی | https://github.com/HurinHu/EastMoney |
| آدرس اینترنتی | https://pypi.org/project/EastMoney/ |
| مجوز | - |
# Reuters
Retrieve A-share information from EastMoney for Python
## Install
```
pip install EastMoney
```
## Usage
- Initializing
```
from EastMoney import EastMoney
em=EastMoney('600320','SH')#EastMoney('300015','SZ')
```
- Get full info
It will return `{'code':'...','price':'...','PE':'...','marketCap':'...','company':'...','company_name_en':'...','company_name_cn':'...','industry':'...','area':'...','desc':'...'}`
```
em.getInfo()
```
- Get code
```
em.getCode()
```
- Get current price
```
em.getPrice()
```
- Get name
```
em.getName()
```
- Get company full name
```
em.getCompanyName()
```
- Get company full name in English
```
em.getCompanyName(lang='EN')
```
- Get market capital
```
em.getMarketCap()
```
- Get PE
```
em.getPE()
```
- Get company industry
```
reuters.getIndustry()
```
- Get company location
```
reuters.getLoc()
```
- Get company full description
```
reuters.getDesc()
```
نحوه نصب
نصب پکیج whl EastMoney-1.0.0:
pip install EastMoney-1.0.0.whl
نصب پکیج tar.gz EastMoney-1.0.0:
pip install EastMoney-1.0.0.tar.gz