GovInfo
App · 3 actions
Find official U.S. publications and track changes to congressional bills, statutes and other collections.
Actions
| Action | What it does |
|---|---|
| Get a publication | Get a publication's title, issue date, collection and links to available files. |
| List publication collections | Get the names and codes of available government publication collections. |
| List recently added or updated publications | Find publications in a collection that GovInfo added or updated since a specified time. |
Get a publication
Get a publication's title, issue date, collection and links to available files.
Inputs
- Package ID
package_idtextRequired - The publication's package ID, such as FR-2018-08-03.
Outputs
dataobject- The response from GovInfo.
Example output
{
"data": {
"collectionCode": "example",
"dateIssued": "example",
"detailsLink": "example",
"download": {},
"lastModified": "example",
"packageId": "example",
"title": "example"
}
}List publication collections
Get the names and codes of available government publication collections.
Inputs
None.
Outputs
dataobject- The response from GovInfo.
Example output
{
"data": {
"collections": [
{
"collectionCode": "example",
"collectionName": "example",
"granuleCount": 1,
"packageCount": 1
}
]
}
}List recently added or updated publications
Find publications in a collection that GovInfo added or updated since a specified time.
Inputs
- Collection
collection_codetextRequired - The publication collection to follow, such as BILLS or USCODE.
- Since
sincedate and timeRequired - The earliest time a publication was added or updated.
- Cursor
cursortext - The offsetMark value from the previous page's nextPage link.
- Page size
page_sizenumber - How many publications to return.From 1 to 200.
Outputs
dataobject- The response from GovInfo.
Example output
{
"data": {
"count": 1,
"nextPage": "example",
"packages": [
{
"dateIssued": "example",
"lastModified": "example",
"packageId": "example",
"packageLink": "example",
"title": "example"
}
]
}
}