API:getNews - Get news list

Get list of news created in system

Optional parameters

page
Which page to return

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getNews

Response

   {
      "success": true,
      "news": [
         {
            "id": "4",
            "title": "Lorem Ipsum",
            "content": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\n tempor incididunt ut labore et dolore magna ...",
            "enable": "0",
            "date": "2011-09-29"
         }
      ],
      "call": "getNews",
      "server_time": 1317712600
   }