Skip to content

Commit

Permalink
First release
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Jan 10, 2019
0 parents commit 86eda7a
Show file tree
Hide file tree
Showing 78 changed files with 2,838 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Marc Reichel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 30 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "marcreichel/igdb-laravel",
"description": "A Laravel Wrapper for the IGDB API v3",
"keywords": ["laravel", "api", "igdb", "apicalypse", "wrapper"],
"require": {
"php": "^7.1.3",
"laravel/framework": "5.7.*",
"guzzlehttp/guzzle": "~6.0",
"ext-json": "*"
},
"license": "MIT",
"authors": [
{
"name": "Marc Reichel",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"MarcReichel\\IGDBLaravel\\": "src"
}
},
"extra": {
"laravel": {
"providers": [
"MarcReichel\\IGDBLaravel\\IGDBLaravelServiceProvider"
]
}
}
}
30 changes: 30 additions & 0 deletions config/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?php

return [
/*
* This is the API Token you got from https://api.igdb.com
*/
'api_token' => env('IGDB_TOKEN', ''),

/*
* This package caches queries automatically.
* Here you can set how long each query should be cached.
*
* To turn cache off set this value to 0
*/
'cache_lifetime' => env('IGDB_CACHE_LIFETIME', 60),

/*
* This is the per-page limit for your tier ("Free" by default)
* Adjust this to 500 if you are on the "Pro" tier or to whatever you want
* if you are in the Partner Program.
*/
'per_page_limit' => 50,

/*
* This is the offset limit for your tier ("Free" by default)
* Adjust this to 5000 if you are on the "Pro" tier or to whatever you want
* if you are in the Partner Program.
*/
'offset_limit' => 150,
];
Loading

0 comments on commit 86eda7a

Please sign in to comment.