-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop API calls for Press statements #35
Comments
NOTE: Ignore the links in this comment. These are apparently not the press statements we want. Instead, see Josh's comment below. For current scraper: If there is no more central location, we can scrape the earlier statements here: Example of a statement that mentions bills by number: https://georgewbush-whitehouse.archives.gov/news/releases/2006/11/20061117-14.html |
From Josh:
def parse_bill_number(text):
m = bill_number_re.match(text)
if not m: return None
return {
"type": m.group("type").lower().replace(".", "").replace(" ", ""),
"number": int(m.group("number"))
}
|
This is what Daniel meant: https://projects.propublica.org/api-docs/congress-api/statements/ |
This is working now, with AJAX calls from the UI. |
Derek Willis may be able to point to the sources
The text was updated successfully, but these errors were encountered: