Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (52 sloc) 2.235 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 - Detailed information about a company, public service office, or media attachment.</description>
<documentationURL>http://api.presseportal.de/doc/</documentationURL>
<sampleQuery>SELECT * FROM {table} WHERE company="67633"</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE office="70238"</sampleQuery>
<sampleQuery>SELECT * FROM {table} WHERE attachment="203045"</sampleQuery>
</meta>
<bindings>
<!--
/info/company/id
-->
<select itemPath="json.company" produces="JSON">
<urls>
<url env="all">http://api.presseportal.de/api/info/company/{company}</url>
</urls>
<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="id" as="company" type="xs:string" paramType="query" required="true" description="id of the company"/>
</inputs>
</select>
<!--
/info/office/id
-->
<select itemPath="json.office" produces="JSON">
<urls>
<url env="all">http://api.presseportal.de/api/info/office/{office}</url>
</urls>
<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="id" as="office" type="xs:string" paramType="query" required="true" description="id of the office"/>
</inputs>
</select>
<!--
/info/media/id
-->
<select itemPath="json.media" produces="JSON">
<urls>
<url env="all">http://api.presseportal.de/api/info/media/{attachment}</url>
</urls>
<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="id" as="attachment" type="xs:string" paramType="query" required="true" description="id of the id of the media attachment"/>
</inputs>
</select>
</bindings>
</table>
Jump to Line
Something went wrong with that request. Please try again.