Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding open australia

  • Loading branch information...
commit ed166105cb8ee7e57f7a27173b44b629c06db293 1 parent 3012ff0
@sh1mmer sh1mmer authored
View
28 openaustralia/openaustralia.getDebates.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.rows.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getDebates</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="per_page" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='type' type='xs:string' paramType='query' required="true" />
+ <key id='date' type='xs:string' paramType='query' required="false" />
+ <key id='search' type='xs:string' paramType='query' required="false" />
+ <key id='person' type='xs:string' paramType='query' required="false" />
+ <key id='gid' type='xs:string' paramType='query' required="false" />
+ <key id='order' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
25 openaustralia/openaustralia.getHansard.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.rows.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getHansard</url>
+ </urls>
+ <paging model="page">
+ <start id="page" default="1" />
+ <pagesize id="per_page" max="20" />
+ <total default="20" />
+ </paging>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='search' type='xs:string' paramType='query' required="false" />
+ <key id='person' type='xs:string' paramType='query' required="false" />
+ <key id='order' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
32 openaustralia/openaustralia.getRepresentative.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getRepresentative</url>
+ </urls>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='id' type='xs:string' paramType='query' required="false" />
+ <key id='division' type='xs:string' paramType='query' required="false" />
+ <key id='alway_return' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ <select itemPath="result.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getRepresentative</url>
+ </urls>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='id' as="person_id" type='xs:string' paramType='query' required="true" />
+ <key id='division' type='xs:string' paramType='query' required="false" />
+ <key id='alway_return' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
21 openaustralia/openaustralia.getRepresentatives.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getSenator</url>
+ </urls>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='postcode' type='xs:string' paramType='query' required="false" />
+ <key id='date' type='xs:string' paramType='query' required="false" />
+ <key id='party' type='xs:string' paramType='query' required="false" />
+ <key id='search' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
28 openaustralia/openaustralia.getSenator.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getSenator</url>
+ </urls>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='id' type='xs:string' paramType='query' required="true" />
+ </inputs>
+ </select>
+ <select itemPath="result.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getSenator</url>
+ </urls>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='id' as="person_id" type='xs:string' paramType='query' required="true" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
View
21 openaustralia/openaustralia.getSenators.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <sampleQuery></sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="result.match" produces="XML">
+ <urls>
+ <url>http://www.openaustralia.org/api/getSenators</url>
+ </urls>
+ <inputs>
+ <key id='key' type='xs:string' paramType='query' const="true" private="true" default="CgzDvxCyur6dGVSXidBnvrZw" />
+ <key id='output' type='xs:string' paramType='query' const="true" default="xml" />
+ <key id='date' type='xs:string' paramType='query' required="false" />
+ <key id='party' type='xs:string' paramType='query' required="false" />
+ <key id='state' type='xs:string' paramType='query' required="false" />
+ <key id='search' type='xs:string' paramType='query' required="false" />
+ </inputs>
+ </select>
+ </bindings>
+</table>
Please sign in to comment.
Something went wrong with that request. Please try again.