waynestate / news-api-php
Connector for News API
Installs: 21 863
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 2
Requires
- php: >=7.3
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
Connector to interact with the News API
Example Usage
<?php use Waynestate\Api\News; // News API $news = new News(NEWS_API_KEY); // List of releases $releases = $news->request('releases', array('perPage' => '2')); var_dump($releases); // Individual Release $release = $news->request('releases', array('id' => '1')); var_dump($release);