Ask HN: What Would you want in a government API?
I'm marveling over the new whitehouse.gov and thinking that the government should have an API. I imagine it would create a thousands of government jobs, boost every sector of hardware sales, foster the creation of thousands of start ups and bring accountability and transparency to government, among other things. I'd say my first request would be this function:
getEveryDollarSpent, which would accept as parameters paidTo, authorizedBy, minDollars, maxDollars, dateFrom and dateTo.
What's yours?
39 comments
[ 3.1 ms ] story [ 37.4 ms ] threadThe API could be created as a F/OSS project and be done with that line item ;).
return (DEMOCRATS == current_administration) ? REPUBLICANS : DEMOCRATS;
Rather than one giant government API, we will probably see each agency slowly create more meaningful ways to get at their data. I expect there to be some exciting open data initiatives from the Obama administration.
I've only been involved in this for a little under two years and it is amazing to see how quickly the government has become interested in open data. There is still a LONG way to go, but I think we are going to see some great things in the coming years.
Someone should get on that. :D
"We have courts and trials because at some point we decided to trade in our shotguns for lawyers to settle disputes"
In other words shutdown() returns a Shotgun. (I am refining the API here)
taxes shutdown()
but I have a feeling it would be void shutdown()...
the more APIs the better. definitely tracking money is vital, since we've all come to assume the government is in evil corp's pocket.
A friend of mine got a traffic ticket that he paid incorrectly, and had a wrong address on file. A year later he got arrested during a random broken-taillight stop with a ridiculous amount of late fees. He asked if he had any other tickets outstanding, and they said they couldn't tell him - there was no system for lookups like that. He could only make sure he had the right address on file and wait for further mail. That's a pretty ridiculous system.
On the other hand, I doubt any spam is going to come from a .gov domain...
http://open.blogs.nytimes.com/2009/01/08/introducing-the-con...
Primarily I would like this to be a single-service type situation where I can choose to go paperless and conduct all correspondence electronically (if I still need to send in the occasional signature such as you do when you e-file your tax returns, so be it). I'd like to see timeline or email based metaphor for interacting with this correspondence. It should include IRS, passport, immigration, the entitlement programs, the VA, whatever your interactions with the fed cover, it should cover.
There is no reason this couldn't share authentication with my state & municipal governments as well. I would like to see a seamless portal for interaction with government at all levels, while each level retains their own autonomy of implementation. If this is 10 years out on the timeline, that is fine, but I do want to see progress made. Start small if you must, but start.
Could eliminate a lot of political grunt work and save money come the next election. It would also provide excuses for practical things, like why the potholes aren't fixed or the budget is still unbalanced.
I'm also all for simplifyAgency, which takes an Agency name and returns a list of functions that the agency does. So I could call simplifiyAgency("IRS") and receive a list of APIs the IRS exposes.
Or how about something extremely practical? Give us access to all of that GIS and USGS data in a simple format. You know, the data that is in the public domain but companies make a killing re-selling us.
What if ALL contributions were reported on a public twitter feed-ish service? (and a timeline)
Oh, and an api for that data would be sweet too.
In London we have http://journeyplanner.tfl.gov.uk but there is no api and the user interface is shoddy.
There doesn't seem to be an api mentioned anywhere on that site. It appears to be for end users only. Am I missing something?
Although seriously now would you want every blog comment tied to you with a digital signature, provably yours forever?
uglyAsFuckAndAlmostUnreadable -> fail. acceptable_using_underscores -> better. using-hyphens-as-lisp-does -> great.
The money you need to fund this stuff has to come from somewhere; hence destroying thousands of non-government jobs, slowing down every other sector of the economy and preventing the creation of thousands of startups.