{"action":"created","issue":{"url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api/issues/6","repository_url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api","labels_url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api/issues/6/comments","events_url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api/issues/6/events","html_url":"https://github.com/Wiatrogon/php-allegro-rest-api/issues/6","id":350962430,"node_id":"MDU6SXNzdWUzNTA5NjI0MzA=","number":6,"title":"You can't set multiple values of a filter","user":{"login":"retrowaver","id":23421260,"node_id":"MDQ6VXNlcjIzNDIxMjYw","avatar_url":"https://avatars0.githubusercontent.com/u/23421260?v=4","gravatar_id":"","url":"https://api.github.com/users/retrowaver","html_url":"https://github.com/retrowaver","followers_url":"https://api.github.com/users/retrowaver/followers","following_url":"https://api.github.com/users/retrowaver/following{/other_user}","gists_url":"https://api.github.com/users/retrowaver/gists{/gist_id}","starred_url":"https://api.github.com/users/retrowaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retrowaver/subscriptions","organizations_url":"https://api.github.com/users/retrowaver/orgs","repos_url":"https://api.github.com/users/retrowaver/repos","events_url":"https://api.github.com/users/retrowaver/events{/privacy}","received_events_url":"https://api.github.com/users/retrowaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-15T20:51:13Z","updated_at":"2018-09-13T05:43:31Z","closed_at":null,"author_association":"NONE","body":"Let's say I'm making the following call, which works fine:\r\n\r\n```php\r\n$api->offers->listing->get([\r\n\t'phrase' => 'sukienka',\r\n\t'category.id' => 124264,\r\n\t'parameter.11323' => 2 // używane\r\n]);\r\n```\r\n\r\nThe thing is, `parameter.11323` could have multiple values, i.e. both `2` (*używane*) and `246514` (*nowe z defektem*), but there's seemingly no way to pass them both. Putting them into an array (`'parameter.11323' => ['2', '246514']`) doesn't work, because `http_build_query()` transforms them into `parameter.11323[0]=2&parameter.11323[1]=246514`, while API expects something like `parameter.11323=2&parameter.11323=246514` (as stated [here](https://github.com/allegro/restapi-guideline#filter-by-multiple-values-in-one-filed))."},"comment":{"url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api/issues/comments/420890344","html_url":"https://github.com/Wiatrogon/php-allegro-rest-api/issues/6#issuecomment-420890344","issue_url":"https://api.github.com/repos/Wiatrogon/php-allegro-rest-api/issues/6","id":420890344,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDg5MDM0NA==","user":{"login":"Wiatrogon","id":11462938,"node_id":"MDQ6VXNlcjExNDYyOTM4","avatar_url":"https://avatars2.githubusercontent.com/u/11462938?v=4","gravatar_id":"","url":"https://api.github.com/users/Wiatrogon","html_url":"https://github.com/Wiatrogon","followers_url":"https://api.github.com/users/Wiatrogon/followers","following_url":"https://api.github.com/users/Wiatrogon/following{/other_user}","gists_url":"https://api.github.com/users/Wiatrogon/gists{/gist_id}","starred_url":"https://api.github.com/users/Wiatrogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wiatrogon/subscriptions","organizations_url":"https://api.github.com/users/Wiatrogon/orgs","repos_url":"https://api.github.com/users/Wiatrogon/repos","events_url":"https://api.github.com/users/Wiatrogon/events{/privacy}","received_events_url":"https://api.github.com/users/Wiatrogon/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T05:43:31Z","updated_at":"2018-09-13T05:43:31Z","author_association":"OWNER","body":"Cool, now we know they don't use PHP. Sorry it took me so long to reply, I'll try my best to give it a look soon-ish."}}
{"actor":{"display_login":"Wiatrogon"}}