Ancestors

Toot

Written by Shdwdrgn@mander.xyz on 2024-11-04 at 18:16

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

Descendants

Written by Snot Flickerman on 2024-11-04 at 18:21

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

Written by femtech on 2024-11-04 at 19:54

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

Written by Shdwdrgn@mander.xyz on 2024-11-04 at 22:11

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

Written by just_another_person@lemmy.world on 2024-11-04 at 18:24

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

Written by 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖 on 2024-11-04 at 20:28

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

Written by Shdwdrgn@mander.xyz on 2024-11-04 at 22:16

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

Written by tvcvt@lemmy.ml on 2024-11-04 at 21:02

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

Written by Shdwdrgn@mander.xyz on 2024-11-04 at 22:09

Hmm good idea, I’ll take a look into that!

=> More informations about this toot | More toots from Shdwdrgn@mander.xyz

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113426050257712906
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
297.69652 milliseconds
Gemini-to-HTML Time
2.270318 milliseconds

This content has been proxied by September (3851b).