bit-notify-0.1.3
توضیحات
Bittrex SMS Notifier
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | bit-notify-0.1.3 |
| نام | bit-notify |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hunter Thompson |
| ایمیل نویسنده | thompson.grey.hunter@gmail.com |
| آدرس صفحه اصلی | https://github.com/hthompson6/bit-notifier |
| آدرس اینترنتی | https://pypi.org/project/bit-notify/ |
| مجوز | MIT |
# bit-notify
SMS notifier for bittrex
## Installation
```
$ pip install bit-notify
```
### Install from source
```
$ git clone https://github.com/hthompson6/bit-notify.git
$ cd bit-notify
$ python setup.py install -e .
```
## Usage
Please note that this service relies on Twilio. To sign up for Twilio please
visit https://www.twilio.com/try-twilio.
```python
api_key = 'my_bittrex_api_key'
api_sign = 'my_bittrex_api_secret'
account_sid = 'my_twilio_account_sid'
auth_token = 'my_twilio_auth_token'
sender = '<country_code><my_twilio_phone_number>'
reciever = '<country_code><my_personal_phone_number>'
notify = Notifier(api_key, api_sign, account_sid, auth_token, sender, reciever)
notify.start()
notify.kill_thread()
```
### Advanced Usage
Notifications occur when the percent change over a 24hr span of time
lies outside of the given threshold. (Updates to this percentage are
checked every 30 minutes.)
The default is as follows: **-100% < %change < 100%**
To alter the threshold simply modify the class instatiaion:
```python
notify = Notifier(api_key, api_sign, account_sid, auth_token,
sender, reciever, lower_bound=-15, upper_bound=50)
notify.start()
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.1.0 | bit-bind |
| >=6.4.2 | twilio |
نحوه نصب
نصب پکیج whl bit-notify-0.1.3:
pip install bit-notify-0.1.3.whl
نصب پکیج tar.gz bit-notify-0.1.3:
pip install bit-notify-0.1.3.tar.gz