{"action":"opened","issue":{"url":"https://api.github.com/repos/miroslav-valerian/CnbApi/issues/2","repository_url":"https://api.github.com/repos/miroslav-valerian/CnbApi","labels_url":"https://api.github.com/repos/miroslav-valerian/CnbApi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/miroslav-valerian/CnbApi/issues/2/comments","events_url":"https://api.github.com/repos/miroslav-valerian/CnbApi/issues/2/events","html_url":"https://github.com/miroslav-valerian/CnbApi/issues/2","id":193520127,"number":2,"title":"Implement get parameters","user":{"login":"martinknor","id":2004222,"avatar_url":"https://avatars.githubusercontent.com/u/2004222?v=3","gravatar_id":"","url":"https://api.github.com/users/martinknor","html_url":"https://github.com/martinknor","followers_url":"https://api.github.com/users/martinknor/followers","following_url":"https://api.github.com/users/martinknor/following{/other_user}","gists_url":"https://api.github.com/users/martinknor/gists{/gist_id}","starred_url":"https://api.github.com/users/martinknor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinknor/subscriptions","organizations_url":"https://api.github.com/users/martinknor/orgs","repos_url":"https://api.github.com/users/martinknor/repos","events_url":"https://api.github.com/users/martinknor/events{/privacy}","received_events_url":"https://api.github.com/users/martinknor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-05T14:58:50Z","updated_at":"2016-12-05T14:58:50Z","closed_at":null,"body":"```php\r\n$date = new \\DateTime();\r\n$date->modify(\"last day of previous month\");\r\n$request = new CnbRequest(); #hack: $request = new CnbRequest(CnbRequest::CNB_URL.'?date='.$date->format(\"d.m.Y\"));\r\n$response = $request->get(['date' => $date->format(\"d.m.Y\")]); #nice to have\r\n```"}}
{"actor":{"display_login":"martinknor"}}