Twitter and the Nevada Republican Party have partnered to deliver voters, developers and news organizations real-time access to the results of the “First in the West” Nevada Presidential Caucuses on February 4th. You can follow the votes on Twitter as they come in via two accounts:
To access the automated precinct-by-precinct data, you will need to use the Twitter Streaming API. Documentation on using the API to bring in data is available here.
We recommend using the follow parameter with the statuses/filter API method for streaming the Tweets sent from @NVVoteCount (user ID 475526099). You may utilize just the query string with a curl request for this kind of simple integration.
curl -u username:password "https://stream.twitter.com/1/statuses/filter.json?follow=475526099"
curl -u username:password "https://stream.twitter.com/1/statuses/filter.json?follow=475526099" > nvvotecount.json
Instructions on how to parse the data in each Tweet is available here. [UPDATED 2/2/12]
To be notified of documentation updates and tests, please sign up here.
Did someone say … cookies?
X and its partners use cookies to provide you with a better, safer and
faster service and to support our business. Some cookies are necessary to use
our services, improve our services, and make sure they work properly.
Show more about your choices.