forked from yql/yql-tables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kiva.lenders.search.xml
27 lines (25 loc) · 963 Bytes
/
kiva.lenders.search.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<sampleQuery></sampleQuery>
</meta>
<bindings>
<select itemPath="json.lenders" produces="JSON">
<urls>
<url env="all">http://api.kivaws.org/v1/lenders/search.js</url>
</urls>
<paging model="page">
<start id="page" default="1" />
<pagesize id="page_size" max="20" />
<total default="20" />
</paging>
<inputs>
<key id='sort_by' type='xs:string' paramType='query' required="false" />
<key id='occupation' type='xs:string' paramType='query' required="false" />
<key id='country_code' type='xs:string' paramType='query' required="false" />
<key id='q' type='xs:string' paramType='query' required="false" />
<key id='app_id' type='xs:string' paramType='query' required="false" />
</inputs>
</select>
</bindings>
</table>