Marcos Peña
Marcos Peña
I do it using `Illuminate\Pagination\LengthAwarePaginator`. Check [this SO answer](https://stackoverflow.com/a/51505767/779388).
It depends, if you only pass the _apiKey_ in the arguments the user is not authenticated. You get authorization to make not authenticated api calls. If you want an authenticated...
Hi Jan, I guess you a have a script defined in your composer.json to run the tests? These are integration tests and need the variables set in the .env file....
@mikeshiyan, as noted in the README (v1.2) only read calls are working. As far as I know token authentication is broken since last.fm new redesign. Once it fixed, all signed...
@mikeshiyan I've managed to authenticate as a web application and finally could fix these errors in v1.5. There's a test with a signed call.
_Undefined offset_ is caused by a last.fm random server error. The service is working normally now so it cannot be reproduced. At least, this patch prevents the api to break...
@samijnih, since version v1.2 `getPackage` is not used anymore. Now API classes are instantiated like this: ``` php $auth = new AuthApi('setsession', array('apiKey' => $apiKey)); $artistApi = new ArtistApi($auth); ´´´...
Try with `phpunit tests/Api/ --bootstrap vendor/autoload.php`. Let me know if it doesn't work.
I presume you have phpunit installed. If not, you can install it with composer `composer global require "phpunit/phpunit=5.1.*" ` Then open a cmd and run `phpunit tests/Api/ --bootstrap vendor/autoload.php` from...
Fill them with a random string then. All test will pass, except for those that need last.fm token and session key. You should pass around 90% of tests.