Comments (2)
@relarson1 - need to discuss with team, but some parts may be doable in the short-term, while others might be better served by the Search Service (#1), which I would like to prioritize in a fall release, based on current priorities.
from api.
@relarson1 - we have added this to the granule summaries for CRI and HOB. There is also functionality available in the granules service to allow filtering/searching by md5 value.
e.g.
https://api.govinfo.gov/packages/CRI-2017/granules?offset=0&pageSize=100&md5=DC5C1B65290BC73B141543156435C850&api_key=DEMO_KEY will return only a single matching granule.
This should be available for CRI and HOB files whenever they are updated. At some point, we can go back and do older years, but it appears that the CRI and HOB for 2019 all have values appearing within the granules summaries.
You can also filter for a specific md5 on the granule service like so:
https://api.govinfo.gov/packages/CRI-2019/granules?offset=0&pageSize=100
find an existing granule, e.g.: CRI-2019-ABC-INC, which has a md5 value of F656CC8A448D64682743EBC103BBC04C
If you add the &md5={{granule md5 value}}
to the granule service, it will return only the granules that match that md5 (if they exist --if no results are returned, you could presume that the associated granule was updated)
{
"count": 1,
"offset": 0,
"pageSize": 100,
"nextPage": null,
"previousPage": null,
"granules": [{
"title": "ABC, INC.",
"granuleId": "CRI-2019-ABC-INC",
"granuleLink": "https://api.govinfo.gov/packages/CRI-2019/granules/CRI-2019-ABC-INC/summary",
"md5": "F656CC8A448D64682743EBC103BBC04C"
}]
}
from api.
Related Issues (20)
- Api Key Usage; Headers vs. query HOT 2
- Congressional Record for 03/23/2023 cut off at page H1409 HOT 2
- Bad bill links being improperly parsed out from Supreme Court Cases and other text (U.S. 1850; 405 U.S. 1030) HOT 2
- 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
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.