Skip to content

Instantly share code, notes, and snippets.

@mlmiller
Created January 13, 2011 22:16
Show Gist options
  • Save mlmiller/778731 to your computer and use it in GitHub Desktop.
Save mlmiller/778731 to your computer and use it in GitHub Desktop.
curl -X GET 'http://mlmiller.cloudant.com/planes/_all_docs?limit=1&include_docs=true' | python -m json.tool
{
"offset": 0,
"rows": [
{
"doc": {
"": "",
"Accident Number": "CHI08IA119",
"Air Carrier": "MESABA AVIATION INC",
"Aircraft Category": "Airplane",
"Aircraft Damage": "",
"Airport Code": "MSP",
"Airport Name": "Minneapolis-St Paul Intl.",
"Amateur Built": "No",
"Broad Phase of Flight": "TAXI",
"Country": "United States",
"Engine Type": "Turbo Fan",
"Event Date": "04/24/2008",
"Event Id": "20080506X00598",
"FAR Description": "Part 121: Air Carrier",
"Injury Severity": "Incident",
"Investigation Type": "Incident",
"Latitude": "44.881945",
"Location": "Minneapolis, MN",
"Longitude": "-93.221667",
"Make": "BOMBARDIER INC",
"Model": "CL600-2D24",
"Number of Engines": "2",
"Publication Date": "06/11/2009",
"Purpose of Flight": "",
"Registration Number": "N918XJ",
"Report Status": "Probable Cause",
"Schedule": "SCHD",
"Total Fatal Injuries": "",
"Total Minor Injuries": "",
"Total Serious Injuries": "",
"Total Uninjured": "80",
"Weather Condition": "IMC",
"_id": "05c8b5078dc1b0ab10ea1df589131381",
"_rev": "1-55aa82033e9ed5aff7d445a1c699cef9"
},
"id": "05c8b5078dc1b0ab10ea1df589131381",
"key": "05c8b5078dc1b0ab10ea1df589131381",
"value": {
"rev": "1-55aa82033e9ed5aff7d445a1c699cef9"
}
}
],
"total_rows": 68388
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment