Giter Club home page Giter Club logo

Comments (5)

jonquandt avatar jonquandt commented on July 30, 2024

@stephanephanon - good idea. I'll see if we can get this into our release.

from api.

jonquandt avatar jonquandt commented on July 30, 2024

@stephanephanon, would adding something like this into the granule summary work?

bill:{
    "congress": 115,
    "type": "hres",
    "number": 595
}

from api.

stephanephanon avatar stephanephanon commented on July 30, 2024

@jonquandt, I think that would be great. thanks!

from api.

jonquandt avatar jonquandt commented on July 30, 2024

@stephanephanon

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.

from api.

jonquandt avatar jonquandt commented on July 30, 2024

@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"
}

from api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.