All URIs are relative to https://www.govinfo.gov/link .
Method | HTTP request | Description |
---|---|---|
cprtHouseFetchUsingGET | GET /cprt/{congress}/house/{printnum}/{committee} | Query: congress, chamber, house print number, committee |
cprtJacketFetchUsingGET | GET /cprt/{congress}/{jacketid} | Query: congress, jacket number |
cprtSenateFetchUsingGET | GET /cprt/{congress}/senate/{printnum} | Query: congress, chamber, senate print number |
Object cprtHouseFetchUsingGET(congress, printnum, committee, opts)
Query: congress, chamber, house print number, committee
const { CongressionalCommitteePrints } = require('govinfo-link-js')
const api = new CongressionalCommitteePrints()
const congress = 56 // Number | This is the numerical Congress number. Sample value is 109.
const printnum = 56 // Number | This is the numerical House committee print number. House prints are not numbered consecutively across committees within a Congress. For example, 109-2 could exist for both the Ways and Means Committee and the Rules and Administration Committee within the 109th Congress. Sample value is 2.
const committee = 'committee_example' // String | This is the name of the House committee. Recommend encoding special characters and spaces (%20). Sample value is Ways and Means.
const opts = {
linkType: 'linkType_example' // String | This is the format of the returned document. Default is pdf. Other values are html, mods, premis, details, context.
}
const callback = (error, data, response) => {
if (error) {
console.error(error)
} else {
console.log(`SUCCESS: ${JSON.stringify(response, null, 2)}`)
}
}
api.cprtHouseFetchUsingGET(congress, printnum, committee, opts, callback)
Name | Type | Description | Notes |
---|---|---|---|
congress | Number | This is the numerical Congress number. Sample value is 109. | |
printnum | Number | This is the numerical House committee print number. House prints are not numbered consecutively across committees within a Congress. For example, 109-2 could exist for both the Ways and Means Committee and the Rules and Administration Committee within the 109th Congress. Sample value is 2. | |
committee | String | This is the name of the House committee. Recommend encoding special characters and spaces (%20). Sample value is Ways and Means. | |
linkType | String | This is the format of the returned document. Default is pdf. Other values are html, mods, premis, details, context. | [optional] |
Object
No authorization required.
- Content-Type:
application/json
- Accept: /
Object cprtJacketFetchUsingGET(congress, jacketid, opts)
Query: congress, jacket number
const govinfoLinkService = require('govinfo-link-js')
const api = new CongressionalCommitteePrints()
const congress = 56 // Number | This is the numerical Congress number. Sample value is 112.
const jacketid = 'jacketid_example' // String | This is the GPO jacket number. The jacket number is typically listed on the first page in the lower left corner. Jacket number is unique within a Congress. Sample value is 74-558.
const opts = {
linkType: 'linkType_example' // String | This is the format of the returned document. Default is pdf. Other values are html, mods, premis, details, context.
}
const callback = (error, data, response) => {
if (error) {
console.error(error)
} else {
console.log(`SUCCESS: ${JSON.stringify(response, null, 2)}`)
}
}
api.cprtJacketFetchUsingGET(congress, jacketid, opts, callback)
Name | Type | Description | Notes |
---|---|---|---|
congress | Number | This is the numerical Congress number. Sample value is 112. | |
jacketid | String | This is the GPO jacket number. The jacket number is typically listed on the first page in the lower left corner. Jacket number is unique within a Congress. Sample value is 74-558. | |
linkType | String | This is the format of the returned document. Default is pdf. Other values are html, mods, premis, details, context. | [optional] |
Object
No authorization required.
- Content-Type:
application/json
- Accept: /
Object cprtSenateFetchUsingGET(congress, printnum, opts)
Query: congress, chamber, senate print number
const govinfoLinkService = require('govinfo-link-js')
const api = new CongressionalCommitteePrints()
const congress = 56 // Number | This is the numerical Congress number. Sample value is 112.
const printnum = 56 // Number | This is the numerical Senate print number. Senate prints are numbered consecutively across committees within a Congress. Sample value is 4.
const opts = {
linkType: 'linkType_example' // String | This is the format of the returned document. Default is pdf. Other values are html, mods, premis, details, context.
}
const callback = (error, data, response) => {
if (error) {
console.error(error)
} else {
console.log(`SUCCESS: ${JSON.stringify(response, null, 2)}`)
}
}
api.cprtSenateFetchUsingGET(congress, printnum, opts, callback)
Name | Type | Description | Notes |
---|---|---|---|
congress | Number | This is the numerical Congress number. Sample value is 112. | |
printnum | Number | This is the numerical Senate print number. Senate prints are numbered consecutively across committees within a Congress. Sample value is 4. | |
linkType | String | This is the format of the returned document. Default is pdf. Other values are html, mods, premis, details, context. | [optional] |
Object
No authorization required.
- Content-Type:
application/json
- Accept: /