As far as I can tell, the bills, billById, billsBySubject, peopleHouse, and peopleSenate resolvers work successfully now. This means we can get a list of bills, a single bill by id, a list of bills given a subject, and a list of members of the house and senate. I also updated the schema to add more information for these queries.
I'm still figuring out subjects, since there's not any place in the API that I can tell that lists all of the subjects for every bill. There's an option to list all of the subjects for a single bill, but that doesn't seem like enough. Mentioned this in the slack- maybe we use this list? https://www.congress.gov/advanced-search/legislative-subject-terms?congresses%5B%5D=116
As far as I can tell, the bills, billById, billsBySubject, peopleHouse, and peopleSenate resolvers work successfully now. This means we can get a list of bills, a single bill by id, a list of bills given a subject, and a list of members of the house and senate. I also updated the schema to add more information for these queries.
I'm still figuring out subjects, since there's not any place in the API that I can tell that lists all of the subjects for every bill. There's an option to list all of the subjects for a single bill, but that doesn't seem like enough. Mentioned this in the slack- maybe we use this list? https://www.congress.gov/advanced-search/legislative-subject-terms?congresses%5B%5D=116