Nominees sub-API
Nominees Lists
Required Params
- congress-number
- nomination-category
Usage
nyt.congress.bills.lists(args, callback)
Example
nyt.congress.bills.lists({‘congress-number’:’107’,
‘nomination-category’:’received’}, console.log)
Nominees Details
Required Params
- congress-number
- nomination-ID
Usage
nyt.congress.bills.details(args, callback)
Example
nyt.congress.bills.details({‘congress-number’:’107’,
‘nomination-ID’:’<id>’}, console.log)
Nominees by State
Required Params
Usage
nyt.congress.bills.byState(args, callback)
Example
nyt.congress.bills.byState({‘congress-number’:’107’,
‘ST’:’MA’}, console.log)