Any sources of JSON data for live US election results?
https://mander.xyz/post/20234005
=> More informations about this toot | More toots from Shdwdrgn@mander.xyz
Most election data comes from the Associated Press, but I don’t see a place to purchase API access, may only be available to news orgs.
=> More informations about this toot | More toots from SnotFlickerman@lemmy.blahaj.zone
I’ll look around, I haven’t done any work with the AP in years though.
=> More informations about this toot | More toots from femtech@midwest.social
Yeah I found the same on the AP data. I also found that reddit thread, but haven’t been able to find a valid URL for this year’s election. Maybe they don’t make it available until voting starts?
=> More informations about this toot | More toots from Shdwdrgn@mander.xyz
Some states have open data. Unsure if it’s in Json though.
=> More informations about this toot | More toots from just_another_person@lemmy.world
Take a looj at the websites that have live stats im aure u can dig somthibg out of network tab in the dev tools
=> More informations about this toot | More toots from muntedcrocodile@lemm.ee
One promising item I found are some json files from Reuters…
This one provides info on the candidates and the key for state ID’s: graphics.thomsonreuters.com/data/…/metadata.json
This one seems like it will provide the ballot counts(0) and possibly any declared winners(1): graphics.thomsonreuters.com/…/president.json
Of course I won’t know anything for sure until tomorrow evening when states start releasing their counts, but I went ahead and wrote up some code to use the files. It’s something at least, and the Reuters data should be fairly timely. I hope to play around with the collected info in real time, then maybe next election I can re-use the same code.
=> More informations about this toot | More toots from Shdwdrgn@mander.xyz
In my state (Vermont), the Secretary of State has an rss feed that basically presents the results as an xml file. I’m using that to make some local results spreadsheets. Could be other states have similar things.
=> More informations about this toot | More toots from tvcvt@lemmy.ml
Hmm good idea, I’ll take a look into that!
=> More informations about this toot | More toots from Shdwdrgn@mander.xyz This content has been proxied by September (3851b).Proxy Information
text/gemini