Skip to content

Source of positive news. A project for Fontys Hogeschool ICT

License

Notifications You must be signed in to change notification settings

BakkerTom/happy-news

Repository files navigation

happy-news

Build Status codebeat badge codecov

Get it on Google Play

Table of Contents

Description

Happy News is a source of positive news. A school project for Fontys Hogeschool ICT in collaboration with Citrus Software.

API

For full documentation see our wiki.

» https://happynews-api.svendubbeld.nl/post?page={pagenumber}&size={size}

Retrieves all posts in paginated format. Default page is 0 and default size is 20.

» https://happynews-api.svendubbeld.nl/post/uuid/{uuid}

Retrieves a post by it's uuid.

» https://happynews-api.svendubbeld.nl/post/afterdate/{date}?ordered={ordered}

Retrieves all posts after a Java Date. ordered is not required, and defaults to true.

Example JSON

{

    "content": [
        {
            "uuid": "5907217ea7b11b00016e5a44",
            "source": "the-next-web",
            "sourceName": "The Next Web",
            "author": "Arno Nijhof",
            "title": "These companies are growing extremely quickly and will be the unicorns of tomorrow",
            "contentText": "For the fourth year in a row, Adyen and TNW are celebrating European startups with the Tech5. In this competition, we measure companies on growth in revenue over the last three years. ...",
            "url": "https://thenextweb.com/insider/2017/05/01/these-companies-are-growing-extremely-quickly-and-will-be-the-unicorns-of-tomorrow/",
            "imageUrls": [
                "https://cdn2.tnwcdn.com/wp-content/blogs.dir/1/files/2017/05/image3.jpg"
            ],
            "videoUrl": null,
            "publishedAt": 1493643989000,
            "indexedAt": 1493639401003,
            "positivityScore": 0.0,
            "expirationDate": null,
            "type": "article",
            "tags": [ ],
            "hidden": false
        }
    ],
    "last": false,
    "totalElements": 1,
    "totalPages": 1,
    "numberOfElements": 1,
    "sort": null,
    "first": true,
    "size": 20,
    "number": 0

}

Team

Sander van Andel Tom Bakker Tobi van Bronswijk Sven Dubbeld Daan Tuller
Sander van Andel Tom Bakker Tobi van Bronswijk Sven Dubbeld Daan Tuller

License

MIT License © Tom Bakker

Version

  • Version 1.0-SNAPSHOT

About

Source of positive news. A project for Fontys Hogeschool ICT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages