Differences

This shows you the differences between two versions of the page.

Link to this comparison view

api:news_object [2019/06/08 05:49] (current)
Line 1: Line 1:
 +====== News Object ======
 +A News Object is an object returned from the API which contains information about a single piece of news for the launcher. The details about what data it provides is listed below.
  
 +====== Returned Data (Represented by $object) ======
 +^ Name ^ Type ^ Description ^
 +| $object->​title | string | The title of the news item |
 +| $object->​comments | int | The number of comments on the news item on the forums |
 +| $object->​link | string | The link to the news item on the forums |
 +| $object->​published_at | int | A unix timestamp in seconds of when this news item was published |
 +| $object->​content | string | The content of this news item |
api/news_object.txt · Last modified: 2019/06/08 05:49 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0