chrisshiplet / btcbar Goto Github PK
View Code? Open in Web Editor NEWA tiny status bar widget for OS X that displays the latest spot prices from several tickers
License: MIT License
A tiny status bar widget for OS X that displays the latest spot prices from several tickers
License: MIT License
It looks like Winkdex may have gone away - we should double check and remove the fetcher if necessary.
Chrome does this, so can we.
Since the refresh time was extended to 60 seconds, you may have to wait for awhile after connecting to a network before the tickers update. A refresh could be triggered automatically with something like reachability
.
Accidentally overlooked that the error state still triggers an icon change to an image that no longer exists... Oops.
The existing spot price API we're using 404s now.
I can't really understand too much of their API docs - if anyone has any insight on how I can get a USD spot price from a REST endpoint, I can fix this pretty quick. I can't tell if they even support USD anymore...
Please support Bittrex
I've got a note into Coinbase support to see why btcbar's user agent isn't getting responses.
Adding an indicator if the price is trending up or down would be nice. Maybe an arrow, or change the color of the bitcoin symbol green or red depending on direction.
Under OS X 10.10.5, when first launching BTCBar, the $XXX amount is slightly cut-off (does not display fully.) This occurs regardless of which exchange is selected.
This resolves itself after the first round of updates, i.e. after about 10 seconds. But it might be nice to fix this to keep the app looking polished.
App updates all tickers ever 10 seconds.
At least some tickers (e.g. WinkDex) request that API hits are limited to no more than once per 60 seconds -- and they may block apps that disrespect it.
Suggest changing the default rate to 60 seconds.
If someone needs to see an exchange rate in real-time (e.g. traders) they would probably be using a separate browser window or dedicated app for that.
Price API:
https://bityep.com/api/1/ticker
Thanks!
Seeing 3-4 crashes a week on my own machine due to:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull objectForKey:]: unrecognized selector sent to instance 0x7fffc292c0e0'
terminating with uncaught exception of type NSException
abort() called
Need to examine calls to objectForKey
and make sure they fail gracefully, I suspect this is due to a fetcher occasionally getting null
back from an API when btcbar is expecting valid JSON.
Probably just going to end up publishing this under MIT license, seems like the trendy thing to do.
USD Ticker API at https://api.kraken.com/0/public/Ticker?pair=XBTUSD
Looks like they changed their API up a little bit
It would be nice to be able to push out updates.
Fantastic and simple tool as is, would love to see CEX.io support added as it's the exchange I use most.
¯\_(ツ)_/¯
Haven't quite figured out how, but something in the request cache caused BitFenix to return a 404 after the first successful response, and then infinite 301s after that... Didn't realize that NSURLRequest was doing so much stuff under the hood.
add please www.bitcoin.com, i send you $5 in btc cash :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.