Developer
Some information about the Lingmill setup.

Developer information

The API can be found at https//:api.story-bot.com where it’s also possible to test the effects of various calls and parameters.", 


* The calls use HTTPS. HTTP calls are redirected.", "* The API key should be entered in the header and not in the URL.", "* You can specify whether you want the articles in JSON or XML format. This is specified either as format = xml in query, or better in the Accept header. JSON is returned by default.

* The XML format uses the 'headline', 'lead' and 'paragraph' fields.


Example of JSON response:

URL: https://api.story-bot.com/articles/volvo/?key=XXXXXXXX&format=json

{
    "articles": [
        {
            "date": "2020-01-19",
            "language": "sv",
            "topic": "arbetsmarknad",
            "tags": [
                "Ingenjörsjobb"
            ],
            "city": "Göteborg",
            "country": "Sweden",
            "headline": "De söker kompetens i Göteborg",
            "lead": "Det är Göteborg som gäller för Volvo Group för närvarande.",
            "body": [
                "Volvo Group letar efter 19 civilingenjörer i Göteborg just nu.",
                "Totala antalet lediga arbeten för civilingenjörerna i landet är 1122."
            ]
        }
    ],
    "offset": "0",
    "count": "1",
    "total": "1"
}


Example of XML response:

URL: https://api.story-bot.com/articles/volvo/?key=XXXXXXXX&format=xml

<?xml version="1.0" encoding="UTF-8"?>
<articles offset="0" count="1" total="1">
    <article>
        <date>2020-01-19</date>
        <language>sv</language>
        <topic>arbetsmarknad</topic>
        <city>Göteborg</city>
        <country>Sweden</country>
        <headline>De söker kompetens i Göteborg</headline>
        <lead>Det är Göteborg som gäller för Volvo Group för närvarande.</lead>
        <body>
            <p>Volvo Group letar efter 19 civilingenjörer i Göteborg just nu.</p>
            <p>Totala antalet lediga arbeten för civilingenjörerna i landet är 1122.</p>
        </body>
        <tags>
            <tag>Ingenjörsjobb</tag>
        </tags>
    </article>
</articles>


Example of HTML response:

URL: https://api.story-bot.com/articles/volvo/?key=XXXXXXXX&format=html

<!DOCTYPE html>
<meta charset="utf-8">
<title>Content by Lingmill</title>
<div data-offset=“0” data-count="1" data-total="1">
    <article data-topic=‘arbetsmarknad’>
        <h1>De söker kompetens i Göteborg</h1>
        <div class='date'>2020-01-19 </div>
        <div class='lead'>
            <strong>Det är Göteborg som gäller för Volvo Group för närvarande.</strong>
        </div>
        <p>Volvo Group letar efter 19 civilingenjörer i Göteborg just nu.</p>
        <p>Totala antalet lediga arbeten för civilingenjörerna i landet är 1122.</p>
    </article>
</div>


We would love to hear from you!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
By providing my contact details in this form Lingmill may contact me, send me information regarding Lingmill and store my contact details for that purpose. All automated communication contains an unsubscribe link and the possibility to erase all personal data. We will never share your details with any third party.