Comments (1)
@phulin -- sorry for the delay in response. It sounds like the range doesn't necessarily correspond to a CFR part, correct?
Are you looking for a single file in a specific format that would cover that range, or would returning a json response with relevant granuleIDs and download links suffice?
Lastly, do you want this via the link service or via the API?
If going via the link service, it would seem that you could accomplish this functionality by building a service that would take the citation (e.g. 29 U.S.C. ยงยง 201-219) and then programmatically create link service links for all of those sections, inclusive, using the following pattern:
https://www.govinfo.gov/link/uscode/{title}/{section}
https://www.govinfo.gov/link/uscode/29/201
https://www.govinfo.gov/link/uscode/29/202
https://www.govinfo.gov/link/uscode/29/203
https://www.govinfo.gov/link/uscode/29/204
https://www.govinfo.gov/link/uscode/29/205
https://www.govinfo.gov/link/uscode/29/206
https://www.govinfo.gov/link/uscode/29/207
https://www.govinfo.gov/link/uscode/29/208
https://www.govinfo.gov/link/uscode/29/209
https://www.govinfo.gov/link/uscode/29/210
https://www.govinfo.gov/link/uscode/29/211
https://www.govinfo.gov/link/uscode/29/212
https://www.govinfo.gov/link/uscode/29/213
https://www.govinfo.gov/link/uscode/29/214
https://www.govinfo.gov/link/uscode/29/215
https://www.govinfo.gov/link/uscode/29/216
https://www.govinfo.gov/link/uscode/29/217
https://www.govinfo.gov/link/uscode/29/218
https://www.govinfo.gov/link/uscode/29/219
You could also specify different formats by appending a link-type
, (default is pdf) e.g.:
https://www.govinfo.gov/link/uscode/29/201?link-type=html
If you don't specify a year
, it will retrieve the most recent version available in the system.
I hope this is helpful.
from api.
Related Issues (20)
- WayOut HOT 1
- Packages - set default granulesLink pagination to use offsetMark
- Related - CPRT to CPRT relationships
- Missing Bill Text XML for BILLS-118hr3571ih and BILLS-118hres383eh HOT 8
- Anti Virus software update
- Hello would My dreams officiall Pakistan off world now technologie โ๏ธ
- Brian j Reinwald HOT 1
- Reinwald Brian
- Brian j Reinwald
- Search - new tab generated from /docs page returns error
- Search - add relatedLink to Search Service results
- need to add upcoming feature HOT 1
- Govinfo API key HOT 6
- 401 Errors HOT 8
- Smartscriptmatrix
- Retrieve CREC documents which have the property "Congress Member Speaking" HOT 1
- Receive "HTTP Error 401: Unauthorized" after 100 scrapes HOT 1
- abdulrahmannabhan HOT 4
- Bulk data API back to 103rd Congress HOT 6
- Missing Bill Text for S3621 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.