Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 587 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 587 Bytes

TruthSeeker

HackYeah 2019 Ringier Axel Springer articles analisis

REST api documentation

POST /article Ask for article rate

    {
        "title": ""
        "publication_date": ""
        "domain": ""
    }

Returns

    {
        "is_objective": is_manipulative(args['title']),
        "is_too_old": is_too_old(args['publication_date']),
        "opposition_articles": [<link>, <link>]
        "feedback_token": "<token>"
    }

GET /feedback/<token>/<rate>/ where is "up" or "down"
returns code 200 if ok 403 if wrong token