barchart-api-0.4.0
توضیحات
Unofficial API for https://www.barchart.com/
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | barchart-api-0.4.0 |
| نام | barchart-api |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Audel Rouhi |
| ایمیل نویسنده | knucklessg1@gmail.com |
| آدرس صفحه اصلی | https://github.com/Knuckles-Team/barchart-api |
| آدرس اینترنتی | https://pypi.org/project/barchart-api/ |
| مجوز | MIT License |
# Barchart API
*Version: 0.4.0*
Unofficial API for https://www.barchart.com/
### API Calls:
- Top Stocks to Own
- Top ETFs to Own
### Usage:
```python
#!/usr/bin/python
# coding: utf-8
import barchart_api
barchart_client = barchart_api.Api(url="https://barchart.com")
top_stocks_top_own = barchart_client.get_top_stocks_top_own()
print(top_stocks_top_own)
```
#### Install Instructions
Install Python Package
```bash
python -m pip install barchart-api
```
#### Build Instructions
Build Python Package
```bash
sudo chmod +x ./*.py
sudo pip install .
python3 setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.28.1 | requests |
| >=1.26.13 | urllib3 |
نحوه نصب
نصب پکیج whl barchart-api-0.4.0:
pip install barchart-api-0.4.0.whl
نصب پکیج tar.gz barchart-api-0.4.0:
pip install barchart-api-0.4.0.tar.gz