rssnyder / discord-stock-ticker

Add live stock & crypto prices to your discord sidebar.
https://rssnyder.github.io/discord-stock-ticker/
MIT License
294 stars 113 forks source link

Solanart floor bot show 0.00000 #164

Closed cucuchiu closed 1 year ago

cucuchiu commented 1 year ago

I've configured solanart floor bot price for a collection: curl -X POST -H "Content-type: application/json" -d '{"marketplace": "solanart", "name": "awf","nickname": true, "frequency": 10, "discord_bot_token": "mytoken"}' localhost:8080/floor

The bot works but show 0.00000 SOL and the real floor price is 0.087 SOL.

I've also tryed to delete it: curl -X DELETE localhost:8080/floor/solanart-awf but show this error: ERRO[1137] Error getting floor rates: unexpected end of JSON input ERRO[1144] Error getting floor rates: unexpected end of JSON input ERRO[1154] Error getting floor rates: unexpected end of JSON input ERRO[1164] Error getting floor rates: unexpected end of JSON input

Thank you in advance.

rssnyder commented 1 year ago

Thanks for the issue! It looks like they changed APIs and I was able to track the corrected URL down! This will be in the next release. image

rssnyder commented 1 year ago

fixed in linked pr