taoteh1221 / Slideshow_Crypto_Ticker

Real Time Slideshow Crypto Price Ticker For Raspberry Pi LCD Screens
https://sourceforge.net/projects/dfd-crypto-ticker/
GNU General Public License v3.0
56 stars 10 forks source link

Request: coinmarketcap #15

Closed rschneider1509 closed 2 years ago

rschneider1509 commented 3 years ago

Is this hard to implement? Or some other Exchange that lists safemoon :D

Ty for creating this, works fine on my old dusty rpi2!

taoteh1221 commented 3 years ago

Thanks for the feedback, that's great it works on an old RP2! CMC doesn't have a websockets API, which is what the ticker uses. BUT Binance's DEX does: https://docs.binance.org/api-reference/dex-api/ws-streams.html

Is safemoon on Binance DEX I wonder?

rschneider1509 commented 3 years ago

Ty for ur reply. I found, cmc got some kind of api, that's why I asked :) This guy uses it for his tracker: https://github.com/Zaldr0n/SafemoonIndicator

Safemoon is very new and seems only listed on bitmart and whitebit yet :p

taoteh1221 commented 3 years ago

Unfortunately like I said, CMC does not have a 'websockets' API (they have a 'rest' API). This ticker requires a 'websocket' API to connect to.

Looks like safemoon is on Binance's Pancakeswap DEX here too: https://www.coingecko.com/en/coins/safemoon#markets

rschneider1509 commented 3 years ago

Thx, i will find my way through this :)

Does that mean,that i can pull those data already via binance in ur script? ill check it out.

taoteh1221 commented 3 years ago

If it's on the Binance MAIN exchange yes, but I do not have Binance DEX added yet (it may be in the next release later this month). I'll let you know if PancakeSwap is supported with their DEX websocket API, as I believe safemoon is on there.

rschneider1509 commented 2 years ago

u can close this. Bitmart lists SAFEMOON :)

taoteh1221 commented 2 years ago

Cool. Ok, closing.