php-discogs-api
php-discogs-api copied to clipboard
Added 'page' and 'per_page' parameters to 'search' - these are supported by Discogs API
https://www.discogs.com/developers/#page:database,header:database-search "Issue a search query to our database. This endpoint accepts pagination parameters"
Hi @Blackout
Could you also add a unit test for this scenario?
Sure
I've also added 'getPriceSuggestions' https://www.discogs.com/developers/#page:marketplace,header:marketplace-price-suggestions
@ricbra how do i make unit tests?
@Blackout
php-discogs-api uses PHPUnit. A complete documentation can be found under phpunit.de.
Look also in the tests folder of this repository.
Yeah no idea how to use PHPUnit. It works, you can see how simple the changes are. I'm using both changes now. Accept it or dont.