newsapi-php
newsapi-php copied to clipboard
Get Top Headlines Params are not Working
$newsapi->getTopHeadlines($q, $sources, $country, $category, $page_size, $page);
According to this I have Used like this in my code
$response = $newsapi->getTopHeadlines($country='us', $category='health');
But it is not working.