Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raphaelbronsveld-zz/clash-of-api
Laravel Package using the Clash of Clans API.
https://github.com/raphaelbronsveld-zz/clash-of-api
api clans-api clash laravel
Last synced: 4 days ago
JSON representation
Laravel Package using the Clash of Clans API.
- Host: GitHub
- URL: https://github.com/raphaelbronsveld-zz/clash-of-api
- Owner: RaphaelBronsveld-zz
- License: mit
- Created: 2016-03-16T08:06:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T13:53:57.000Z (almost 7 years ago)
- Last Synced: 2024-12-20T00:41:28.284Z (4 days ago)
- Topics: api, clans-api, clash, laravel
- Language: PHP
- Homepage: https://raphaelbronsveld.com/clash
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Laravel logo](http://laravel.com/assets/img/laravel-logo.png) Clash Of API
========================
**Laravel** package providing additional functionality to the official Clash Of Clans API.[![Build Status](https://travis-ci.org/RaphaelBronsveld/clash-of-api.svg?branch=master)](https://packagist.org/packages/raphaelb/clashofapi)
[![GitHub Version](https://img.shields.io/github/release/raphaelbronsveld/clash-of-api.svg?branch=master&style=flat-square)](https://packagist.org/packages/raphaelb/clashofapi)
[![StyleCI](https://styleci.io/repos/54012395/shield?branch=master)](https://styleci.io/repos/54012395)
[![Total Downloads](https://img.shields.io/packagist/dt/raphaelb/clashofapi.svg?style=flat-square)](https://packagist.org/packages/raphaelb/clashofapi)
[![License](http://img.shields.io/badge/license-MIT-ff69b4.svg?style=flat-square)](http://RaphaelBronsveld.mit-license.org)##### Composer require
```JSON
"raphaelb/clashofapi": "~3.0"
```##### API Key
Before this is going to work you need to get an api key from https://developer.clashofclans.com/#/
Insert this into your .env file.
CLASH_KEY=yourapikeyhere
##### Example
```php
public function someMethodBeingCalled()
{
$clans = app()->make('clash')
->getClans(['name' => 'Clans',
'limit' => '20']);
return view('yourview', compact('clans'));
}
```##### In-depth examples
Please check the examples.md file.### License
[Raphael Bronsveld](https://github.com/RaphaelBronsveld) - [MIT Licensed](http://RaphaelBronsveld.mit-license.org)Suggestions? E-mail me at