Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjtim/line-notify-binance-asset
Microservice to send Binance/Kucoin asset summary through LINE Notify
https://github.com/cjtim/line-notify-binance-asset
binance-api cloud-functions cryptocurrency gcp heroku kucoin-api line-notify microservice python3
Last synced: 15 days ago
JSON representation
Microservice to send Binance/Kucoin asset summary through LINE Notify
- Host: GitHub
- URL: https://github.com/cjtim/line-notify-binance-asset
- Owner: cjtim
- License: gpl-2.0
- Created: 2021-03-25T07:27:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T15:31:05.000Z (over 2 years ago)
- Last Synced: 2024-11-06T08:45:37.768Z (2 months ago)
- Topics: binance-api, cloud-functions, cryptocurrency, gcp, heroku, kucoin-api, line-notify, microservice, python3
- Language: Python
- Homepage:
- Size: 80.1 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [microservice-binance-cronjob](https://github.com/cjtim/microservice-binance-cronjob)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
## Support
- Binance `POST /`
- Kucoin `POST /kucoin`## setup
- environment variable
- REQ_AUTH_KEY (allow only request headers `Authorization` with this value to proceed)
- Runtime `Python 3.8`
- Recommend Ram 512 mb
## POST Body
- Binance - `POST /`
```json
{
"binanceApiKey": "XXXXX",
"binanceSecretKey": "XXXXX",
"lineNotifyToken": "XXXXX",
"prices": {
// this is the price you buy the coin
// so program can calulate your profit
"FTT": 53.3,
"CELR": 0.08513,
"POND": 0.2216663301,
"LUNA": 16.1,
"SXP": 5.271,
"FTM": 0.43663,
"NEAR": 6.59
}
}
```- Kucoin - `POST /kucoin`
```json
{
"kucoinApiKey": "xxxxxxxxxxxxx",
"kucoinSecretKey": "xxxxx-xxxx-xxxxx-xxxxx",
"kucoinPassphrase": "xxxxxxxxxxxxxxxx",
"lineNotifyToken": "xxxxxxxxxxxxxxxxxxx",
"prices": {
"BURP": 0.11
}
}
```## Cronjob
- [https://cron-job.org/](https://cron-job.org/)
- using POST method
![screenshot](https://raw.githubusercontent.com/cjtim/line-notify-binance-asset/master/img/screenshot.jpg)