forked from yql/yql-tables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnyt.movies.critics.xml
25 lines (25 loc) · 1003 Bytes
/
nyt.movies.critics.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
<?xml version="1.0"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sam Pullara</author>
<documentationURL>http://developer.nytimes.com/docs/movie_reviews_api</documentationURL>
</meta>
<bindings>
<select produces="XML" itemPath="result_set.results.critic">
<urls>
<url>http://api.nytimes.com/svc/movies/v2/critics/{resource}.{responseformat}?api-key={apikey}</url>
</urls>
<paging model="offset">
<start default="0" id="offset"/>
<pagesize max="20" id=""/>
<total default="10"/>
</paging>
<inputs>
<key id="apikey" type="xs:string" paramType="path" required="true"/>
<key id="responseformat" type="xs:string" paramType="path" const="true" default="xml"/>
<!-- all | full-time | part-time | reviewer | {reviewer-name} -->
<key id="resource" type="xs:string" paramType="path" required="true" default="all"/>
</inputs>
</select>
</bindings>
</table>