Notifications
Clear all
Combu Server/Client
2
Posts
2
Users
0
Reactions
1,008
Views
Topic starter
I was wondering how I can just pull the 1 latest news and display it like this
subjectNews.text =
dateNews.text =
messageNews.text =
Posted : 11/04/2018 10:11 pm
Like in the example from API reference: https://www.skaredcreations.com/api/combu/v3/page_news.html
Just pass "1" as second parameter (that is the number of results you want per page), you can put your code inside the callback by accessing the properties of the first element of the News array (if not empty).
FRANCESCO CROCETTI @ SKARED CREATIONS
Posted : 11/04/2018 11:44 pm