4 ms·
You'll want to use the Twitter public timeline firehose - https://dev.twitter.com/docs/api/1.1/get/statuses/firehose https://dev.twitter.com/docs/api/1.1/get/st
by dylz 13y ago
You'll want to use the Twitter public timeline firehose - https://dev.twitter.com/docs/api/1.1/get/statuses/firehose https://dev.twitter.com/docs/api/1.1/get/statuses/firehose
Insert any matching bitcoin into your database with the associated time. Then you can sum/avg/aggregate it by time (within [epoch seconds] - [epoch seconds + 3600])
- makerops 13y agoI think its hard/expensive to access the firehose no?
- dylz 13y agoWasn't much of an issue for me but since he is somewhat new I imagine reading a stream and basically doing an infinite foreach would be a tad easier than adding queuing, API ratelimits (per hour? forget which), timed polling, etc.