Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (54 sloc) 2.64 KB
<?xml version="1.0" encoding="UTF-8" ?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
<meta>
<author>Sebastian Spier (http://twitter.com/#!/sebastianspier/)</author>
<description>presseportal.de - Investor Relations News (general or for a given company)</description>
<documentationURL>http://api.presseportal.de/doc/</documentationURL>
<sampleQuery>SELECT * FROM {table} WHERE list="easy_dd"</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE list="easy_dd" AND company="6343"</sampleQuery>
</meta>
<bindings>
<!--
/ir/company/id/list
-->
<select itemPath="json.content.story" produces="JSON">
<urls>
<url env="all">http://api.presseportal.de/api/ir/company/{company}/{list}</url>
</urls>
<paging model="offset">
<start id="start" default="0" />
<pagesize id="limit" max="100" />
<total default="20" />
</paging>
<inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
<key id="format" type="xs:string" paramType="query" default="json" const="true"/>
<key id="media" type="xs:string" paramType="path" description="requested media type. See http://api.presseportal.de/doc/value/media"/>
<key id="teaser" type="xs:string" paramType="query" description="stories with teaser instead of fulltext"/>
<key id="lang" type="xs:string" paramType="query" description="language of the stories ( only in ch )"/>
<key id="list" type="xs:string" paramType="path" required="true" description="investor relations news type. http://api.presseportal.de/doc/value/ir_type"/>
<key id="company" type="xs:string" paramType="path" required="true" description="id of the company"/>
</inputs>
</select>
<!--
/ir/list
-->
<select itemPath="json.content.story" produces="JSON">
<urls>
<url env="all">http://api.presseportal.de/api/ir/{list}</url>
</urls>
<paging model="offset">
<start id="start" default="0" />
<pagesize id="limit" max="100" />
<total default="20" />
</paging>
<inputs>
<key id="api_key" type="xs:string" paramType="query" required="true"/>
<key id="format" type="xs:string" paramType="query" default="json" const="true"/>
<key id="teaser" type="xs:string" paramType="query" description="stories with teaser instead of fulltext"/>
<key id="lang" type="xs:string" paramType="query" description="language of the stories ( only in ch )"/>
<key id="list" type="xs:string" paramType="path" required="true" description="investor relations news type. http://api.presseportal.de/doc/value/ir_type"/>
</inputs>
</select>
</bindings>
</table>