Skip to content

waynestate/news-api-php

Repository files navigation

news-api-php

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);

About

Connector to interact with the News API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages