Documentation

ACHTUNG: Bitte berücksichtigen Sie, dass die Inhalte, die Sie via API beziehen und veröffentlichen, mit den Originalmeldungen im Presseportal verlinkt werden müssen. (Mehr)

Stories of a specific ressort / department


URL Scheme
/article/ressort/ident [/media]

Arguments

name type description default
ident string identifier string of the ressort / department required
media string requested media type optional

URL Parameters

name type description default
api_key string your api_key required
format string output format xml/json xml
start int start/offset of the result article list 0
limit int limit of articles in response 50
teaser int stories with teaser instead of fulltext 0
lang string language of the stories ( only in ch ) de

Response

name type description
success int successful request 1/0
error array if error was not successfull, ths node contains error code and error msg
request array information about the request, when successfull
content array list of stories, only when request successfull
  story array story data, see here for the details of the story node

Request example

http://api.presseportal.de/api/article/ressort/sport?api_key=yourapikey
http://api.presseportal.de/api/article/ressort/vermischtes/video?api_key=yourapikey&format=json
http://api.presseportal.ch/api/article/ressort/inland?api_key=yourapikey&lang=de&teaser=1
http://api.presseportal.ch/api/article/ressort/suisse?api_key=yourapikey&lang=fr&start=5&limit=10

Response example

<?xml version="1.0" encoding="UTF-8"?>
    <response>
    <success>1</success>
    <request>
        <uri>http://api.presseportal.de/api/article/ressort/sport</uri>
        <start>0</start>
        <limit>20</limit>
        <format>xml</format>
        <ressort>sport</ressort>
    </request>
    <content>
        <story>
            <id>1521241</id>
            <url>http://www.presseportal.de/pm/16439/1521241/hsv_hamburger_sport_verein_e_v/api</url>
            <title>HSV-Presseservice: Schwere Knöchelprellung bei Eljero Elia</title>
            <body>Hamburg (ots) - Eljero Elia hat sich am Samstag (28.11.) im
        Bundesligaspiel bei Mainz 05 eine schwere Prellung im linken Knöchel
        zugezogen. Dies ergab eine Kernspintomographie am Montagmorgen
        (30.11.). Der Niederländer musste beim 1:1 bereits in der 16. Minute
        ausgewechselt werden. "Wir hoffen, dass Eljero gutes Heilfleisch hat
        und uns schnell wieder zur Verfügung steht", so Bruno Labbadia.


        Pressekontakt:
        Rückfragen bitte an:
        HSV Hamburger Sport-Verein e.V.
        Pressesprecher
        Jörn Wolf
        Telefon: +49(0)40 4155 1100
        Fax: +49(0)40 4155 1060
        E-Mail: joern.wolf@hsv.de

        Akkreditierungen:

        Marco Nagel
        HAMBURGER SPORT-VEREIN E.V.
        Presseabteilung
        Sylvesterallee 7
        22525 Hamburg
        Telefon: +49 (0)40 / 4155-1107
        Telefax: +49 (0)40 / 4155-1106
        marco.nagel@hsv.de

        Online-Redaktion:

        Marcus Jürgensen
        HAMBURGER SPORT-VEREIN E.V.
        Stv. Pressesprecher / Internet
        Sylvesterallee 7
        22525 Hamburg
        Tel.: +49 (0)40 / 4155-1101
        Fax: +49 (0)40 / 4155-1106
        Mobil: +49 (0)178 / 477 91 11
        marcus.juergensen@hsv.de</body>
            <published>2009-11-30T10:30:10+0100</published>
            <language>de</language>
            <ressort>Sport</ressort>
            <company>
                <id>16439</id>
                <url>http://www.presseportal.de/pm/16439/hsv_hamburger_sport_verein_e_v/api</url>
                <name>HSV Hamburger Sport-Verein e.V.</name>
            </company>
            <keywords>
                <keyword>Bundesliga</keyword>
            </keywords>
            <highlight>0</highlight>
            <short>http://ots.de/xXxXx</short>
        </story>
        <story>
            ...
        </story>
    </content>
</response>