GithubHelp home page GithubHelp logo

igdb's Introduction

igdb's People

Contributors

2gen avatar dbfx avatar k4kuz0 avatar messerli90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

igdb's Issues

Hi.

I have this error when try to do something
Unresolvable dependency resolving [Parameter #0 [ <required> $key ]] in class Messerli90\IGDB\IGDB

Default searchGame() ordering should be blank, not release date

Hey nice API wrapper!,

I noticed that in the following line of code:

public function searchGames($search, $fields = ['*'], $limit = 10, $offset = 0, $order = 'release_dates.date:desc')

You set the default search ordering to be 'release_dates.date:desc'. 9 times out of 10, I think this produces results you don't want, for example, upon searching "The Witcher 3", I get this:

[ { "id": 2933, "name": "Kingdom Hearts III" }, { "id": 13165, "name": "The Guild 3" }, { "id": 12579, "name": "Danganronpa V3: Killing Harmony" }, { "id": 7333, "name": "Crackdown 3" }, { "id": 18980, "name": "Warhammer 40,000: Dawn of War III" }, { "id": 11806, "name": "Dark Cloud 3" }, { "id": 17583, "name": "SpellForce 3" }, { "id": 13215, "name": "Cossacks 3" }, { "id": 13163, "name": "Syberia 3" }, { "id": 11542, "name": "Shenmue III" } ]

Whereby the real result I clearly wanted is absent, since the game is "too old".

I'd recommend changing it to be "null" since the ordering is not a required parameter, but I'm not sure if that will break your code. (I am currently using my own API wrapper).

config

there is no config folder ?

Laravel?

Hi, what ist Laravel?
Do I need this for my simple php script to use this API?

Expand igdb class

Hi,

maybe it would be helpful, if the methods [getEndpoint, decodeSingle, decodeMultiple, apiGet] will be declared as protected instead of private, to expand the class by extending from it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.