2017 © Pedro PelĆ”ez
 

library hurriyet

Hurriyet public api client for PHP

image

barisesen/hurriyet

Hurriyet public api client for PHP

  • Thursday, July 27, 2017
  • by barisesen
  • Repository
  • 1 Watchers
  • 3 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Hürriyet Public Api

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Hürriyet Api client for Php, (*2)

Installation

Composer json file:, (*3)

{
    "require": {
        "barisesen/hurriyet": "^1"
    }
}

After run the install command., (*4)

$ composer install

OR run the following command directly., (*5)

$ composer require barisesen/hurriyet

Examples

Hurriyet API Client Example, (*6)

Usage

The following gateways are provided by this documentation:, (*7)

<?php

require_once __DIR__ . '/vendor/autoload.php';

use Esen\Hurriyet;

// create a new client instance
$hurriyet = new Hurriyet('your-hurriyet-api-token');

// Filtered article list
$arr = [
    'select' => 'Title,Id',
    'top'  => '10'
];
$data = $hurriyet->get('articles', $arr);

// List id = 40530799 Article 
$arr = [
    'id' => '40530799'
];
$data = $hurriyet->get('articles', $arr);
var_dump($data);

Licence

The MIT License (MIT). Please see License File for more information., (*8)

Contributing

  1. Fork it ( https://github.com/barisesen/Hurriyet-Php-Api-Client )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

The Versions

27/07 2017

dev-master

9999999-dev

Hurriyet public api client for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api news public hurriyet haber gazete

26/07 2017

1.0.0

1.0.0.0

Hurriyet public api client for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api news public hurriyet haber gazete