pythonclt / RTC-Python-Wrapper

Python wrapper for the Sunlight Lab's Real Time Congress API
http://services.sunlightlabs.com/docs/Real_Time_Congress_API/
14 stars 4 forks source link

do 'documents' collection #10

Closed mhjohnson closed 13 years ago

mhjohnson commented 13 years ago

The documents collection holds links to various kinds of documents produced by agencies within Congress, or agencies outside of Congress regarding legislation and related matters.

This collection currently contains only one kind of document:

whip_notice - Daily and weekly digests of chamber schedules published by House leadership of each party.

Guaranteed fields

The only fields you can assume are always present are:

-document_type :: Type of document, currently only "whip_notice". -url -posted_at :: timestamp

For documents of type "whip_notice", the following fields are always present: -notice_type :: Type of document, currently only "whip_notice" -chamber :: either "H" or "S" -party :: either "R" or "D". -for_date :: The day that the document is in reference to.