WebService::UK::Parliament::OralQuestions - Query the UK Parliament Oral Qu API
Version 0.04
use WebService::UK::Parliament::OralQuestions; my $client = WebService::UK::Parliament::OralQuestions->new(); my $data = $client->$endpoint($params);
The following documentation is automatically generated using the UK Parliament OpenAPI specification.
An API that allows querying all tabled oral and written questions, and motions for the House of Commons.
Returns a single Early Day Motion by ID
get
/EarlyDayMotion/{id}
Early Day Motion with the ID specified.
integer
format: int32
Returns a list of Early Day Motions
/EarlyDayMotions/list
Early Day Motions with an ID in the list provided.
array
{"format":"int32","type":"integer"}
Early Day Motions with an UINWithAmendmentSuffix provided.
string
Early Day Motions where the title includes the search term provided.
Early Day Motions where the current status has been set on or after the date provided. Date format YYYY-MM-DD.
format: date-time
Early Day Motions where the current status has been set on or before the date provided. Date format YYYY-MM-DD.
Early Day Motions which are a prayer against a Negative Statutory Instrument.
boolean
Return Early Day Motions tabled by Member with ID provided.
Include Early Day Motions sponsored by Member specified
Early Day Motions where the date tabled is on or after the date provided. Date format YYYY-MM-DD.
Early Day Motions where the date tabled is on or before the date provided. Date format YYYY-MM-DD.
Early Day Motions where current status is in the selected list.
{"enum":["Published","Withdrawn"],"type":"string"}
Order results by date tabled, title or signature count. Default is date tabled.
DateTabledAsc DateTabledDesc TitleAsc TitleDesc SignatureCountAsc SignatureCountDesc
The number of records to skip from the first, default is 0.
The number of records to return, default is 25, maximum is 100.
Returns a list of oral question times
/oralquestiontimes/list
Oral Questions Time where the answering date has been set on or after the date provided. Date format YYYY-MM-DD.
Oral Questions Time where the answering date has been set on or before the date provided. Date format YYYY-MM-DD.
Oral Questions Time where the deadline date has been set on or after the date provided. Date format YYYY-MM-DD.
Oral Questions Time where the deadline date has been set on or before the date provided. Date format YYYY-MM-DD.
Identifier of the OQT
Which answering body is to respond. A list of answering bodies can be found <a target="_blank" href="http://data.parliament.uk/membersdataplatform/services/mnis/referencedata/AnsweringBodies/">here</a>.
{"type":"integer","format":"int32"}
Returns a list of oral questions
/oralquestions/list
Oral Questions where the answering date has been set on or after the date provided. Date format YYYY-MM-DD.
Oral Questions where the answering date has been set on or before the date provided. Date format YYYY-MM-DD.
Oral Questions where the question type is the selected type, substantive or topical.
Substantive Topical
Oral Questions where the question is within the question time with the ID provided
The ID of the member asking the question. Lists of member IDs for each house are available <a href="http://data.parliament.uk/membersdataplatform/services/mnis/members/query/house=Commons" target="_blank">Commons</a> and <a href="http://data.parliament.uk/membersdataplatform/services/mnis/members/query/house=Lords" target="_blank">Lords</a>.
The UIN for the question - note that UINs reset at the start of each Parliamentary session.
LNATION, <thisusedtobeanemail at gmail.com>
<thisusedtobeanemail at gmail.com>
Please report any bugs or feature requests to bug-webservice-uk-parliament at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-UK-Parliament. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-webservice-uk-parliament at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WebService::UK::Parliament
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-UK-Parliament
CPAN Ratings
https://cpanratings.perl.org/d/WebService-UK-Parliament
Search CPAN
https://metacpan.org/release/WebService-UK-Parliament
The first ticehurst bathroom experience
This software is Copyright (c) 2022 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install WebService::UK::Parliament, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::UK::Parliament
CPAN shell
perl -MCPAN -e shell install WebService::UK::Parliament
For more information on module installation, please visit the detailed CPAN module installation guide.