Follow me on Twitter for instant support: @fortniteapi.
We've made an easier documentation for all frameworks instead of only PHP. You can visit it here.
Documentation
getNews()
HTTP endpoint: https://fortnite-public-api.theapinetwork.com/prod09/br_motd/get

Fortnite news via getNews()

Just call the method and you've got the latest news

$data = $api->news->get('gamemode', 'language');

  • gamemode br or stw
  • language en, fr, zh, it, ja, de or es

  • title will give you the title of the article.
  • body will give you the message.
  • image will give you an image.
  • time will give you the time of the article.

  • Example:
    foreach($data as $news) {
        echo $news->title;
        echo $news->body;
        echo $news->image;
        echo $news->time;
    }


    go to an example

    Published: 26-Apr-2018 16:50:29 · Views: 4546