marcreichel / igdb-laravel

Simplify the integration of the IGDB API into your Laravel app. Including IGDB webhook support.
https://marcreichel.dev/docs/igdb-laravel
MIT License
107 stars 22 forks source link

Empty Result everytime #17

Closed hawkiq closed 4 years ago

hawkiq commented 4 years ago

Hello I don't know whats wrong I followed every step in Readme to install and use this package but I got empty results

public function index(){
    $games = Game::where('first_release_date', '>=', 1556661661000)->get();
    return $games;
}
paishin commented 4 years ago

I have the same issue but only when I run the request from console. If I add it to a web route it seems to work ok. @hawkiq, how are you calling your method?

marcreichel commented 4 years ago

The timestamp should be provided without milliseconds. Then it should work as expected. Please excuse the late answer.