newsapi-php icon indicating copy to clipboard operation
newsapi-php copied to clipboard

Get Top Headlines Params are not Working

Open 3gHub opened this issue 2 years ago • 0 comments

$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.

3gHub avatar May 04 '22 12:05 3gHub