Module: api/controllers/members

API controller for retrieving members

Source:

Requires

Methods

(static) getMemberByBioguideId()

GET member by bioguide id, provided in the request parameters

Source:

(static) getMemberByGovtrackId()

GET member by govtrack id, provided in the request parameters

Source:

(static) getMemberByLisId()

GET member by lis id, provided in the request parameters

Source:

(static) getMemberByName()

GET member by name, provided in the request parameters optional: exact=true in the url query if seeking an exact first, last or full name match optional: exact_full=true in the url query if seeking an exact full name match (this will take precedence over exact)

Source:

(static) getMemberByThomasId()

GET member by thomas id, provided in the request parameters

Source:

(static) getMembers()

GET all members

Source:

(static) getMembersByCongress()

GET members by congress, provided in the request parameters (delegates to the getCongressMembers function in congress controller)

Source:
See: