https://github.com/barisesen/hurriyet-php-api-client
Hürriyet Api client for Php
https://github.com/barisesen/hurriyet-php-api-client
api hurriyet hurriyet-api newspaper php
Last synced: 6 days ago
JSON representation
Hürriyet Api client for Php
- Host: GitHub
- URL: https://github.com/barisesen/hurriyet-php-api-client
- Owner: barisesen
- License: mit
- Created: 2017-07-26T06:53:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T12:51:49.000Z (about 8 years ago)
- Last Synced: 2025-06-01T16:42:48.426Z (4 months ago)
- Topics: api, hurriyet, hurriyet-api, newspaper, php
- Language: PHP
- Homepage: https://packagist.org/packages/barisesen/hurriyet
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hürriyet Public Api
[](https://packagist.org/packages/barisesen/hurriyet)
[](https://packagist.org/packages/barisesen/hurriyet)
[](https://packagist.org/packages/barisesen/hurriyet)
[](https://packagist.org/packages/barisesen/hurriyet)Hürriyet Api client for Php
## Installation
Composer json file:
```json
{
"require": {
"barisesen/hurriyet": "^1"
}
}
```
After run the install command.
```
$ composer install
```OR run the following command directly.
```
$ composer require barisesen/hurriyet
```## Examples
[Hurriyet API Client Example](https://github.com/barisesen/Hurriyet-Php-Api-Client/tree/master/Examples)
## Usage
The following gateways are provided by this documentation:
* [Hürriyet](https://developers.hurriyet.com.tr/docs/versions/1.0)
```php
'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](LICENSE) for more information.## 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
- [barisesen](https://github.com/barisesen) [barisesen.com](https://barisesen.com) Barış Esen - creator, maintainer