r/javahelp • u/2012DOOM • Feb 20 '16
Question, don't upvote. Is there a java api wrapper for live primary results?
I want to make a Telegram Bot that reports the primary election results live. Can anyone lead me to the right direction?
3
u/AnEmortalKid Coffee Enthusiast Feb 20 '16
I found this API: http://elections.huffingtonpost.com/pollster/api and this might help with doing it in Java http://www.mkyong.com/java/how-to-send-http-request-getpost-in-java/
0
1
u/Paddington_the_Bear Feb 20 '16
Find a datasource that has the results available through a Web Service or other means, make the appropriate calls, display the data in your program.
Not sure why there would be a specific API for voter results.
0
u/Wartz Feb 21 '16
Why the fuck wouldn't you want a question that someone else may also have in the future upvoted and answered so that future someone can get the solution too?
1
5
u/[deleted] Feb 20 '16
If we didn't upvote questions, there'd be very little point in having this sub