-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request for HOB granule summary #11
Comments
@stephanephanon - good idea. I'll see if we can get this into our release. |
@stephanephanon, would adding something like this into the granule summary work? bill:{
"congress": 115,
"type": "hres",
"number": 595
} |
@jonquandt, I think that would be great. thanks! |
slight change for consistency with references at at the package level. It will look a bit more like: example reference for https://beta.qa.govinfo.gov/app/details/HOB-2017/HOB-2017-hconres97 https://api.govinfo.gov/packages/HOB-2017/granules/HOB-2017-hconres97/summary would have: "references": [{
"collectionCode": "BILLS",
"collectionName": "Congressional Bills",
"contents": [{
"congress": "115",
"type": "HR",
"number": "1"
}
]
}
], That will make it easier to expand out for other reference types. |
@stephanephanon - this should now be available: https://api.govinfo.gov/packages/HOB-2017/granules/HOB-2017-hres595/summary : {
"title": "A resolution providing for consideration of the bill (H.R. 2936) to expedite under the National Environmental Policy Act of 1969 and improve forest management activities on National Forest System lands, on public lands under the jurisdiction of the Bureau of Land Management, and on Tribal lands to return resilience to overgrown, fire-prone forested lands, and for other purposes",
"collectionCode": "HOB",
"collectionName": "History of Bills",
"category": "Proceedings of Congress and General Congressional Publications",
"dateIssued": "2017-12-31",
"detailsLink": "https://www.govinfo.gov/app/details/HOB-2017/HOB-2017-hres595",
"granulesLink": "https://api.govinfo.gov/packages/HOB-2017/granules?offset=0&pageSize=100",
"packageId": "HOB-2017",
"packageLink": "https://api.govinfo.gov/packages/HOB-2017/summary",
"granuleId": "HOB-2017-hres595",
"download": {
"txtLink": "https://api.govinfo.gov/packages/HOB-2017/granules/HOB-2017-hres595/htm",
"modsLink": "https://api.govinfo.gov/packages/HOB-2017/granules/HOB-2017-hres595/mods",
"premisLink": "https://api.govinfo.gov/packages/HOB-2017/premis",
"zipLink": "https://api.govinfo.gov/packages/HOB-2017/zip"
},
"granuleClass": "HRES",
"references": [{
"collectionCode": "BILLS",
"collectionName": "Congressional Bills",
"contents": [{
"congress": "115",
"type": "HR",
"number": "2936"
}
]
}
],
"lastModified": "2018-06-07T07:53:49Z"
}
|
It would be super helpful to have access to the bill number on the HOB granule summary page so that we can get the bill type and number from the summary instead of mods. Eg, "granuleClass": "HRES", "number': 595. This is the number in mods.xml at
<extension><number>595</number></extension
.Example url: https://api.govinfo.gov/packages/HOB-2017/granules/HOB-2017-hres595/summary?api_key=<api_key>
The text was updated successfully, but these errors were encountered: