{"action":"created","comment":{"url":"https://api.github.com/repos/damejidlo/cargo-client/pulls/comments/54396214","id":54396214,"diff_hunk":"@@ -146,6 +142,31 @@ public function getArrivals()\n \n \n \n+\t/**\n+\t * @param int $id\n+\t * @return float workload in percent\n+\t */\n+\tpublic function getCourierGroupWorkload($id)\n+\t{\n+\t\t$request = $this->requestFactory->createRequest('courier-groups/' . $id . '/workload')->setMethod(Request::GET);","path":"src/Logistics/LogisticsClient.php","position":43,"original_position":43,"commit_id":"f9ea08761a8aecfd334886313a9cb6915ba6bd1c","original_commit_id":"f9ea08761a8aecfd334886313a9cb6915ba6bd1c","user":{"login":"xlilien","id":1928926,"avatar_url":"https://avatars.githubusercontent.com/u/1928926?v=3","gravatar_id":"","url":"https://api.github.com/users/xlilien","html_url":"https://github.com/xlilien","followers_url":"https://api.github.com/users/xlilien/followers","following_url":"https://api.github.com/users/xlilien/following{/other_user}","gists_url":"https://api.github.com/users/xlilien/gists{/gist_id}","starred_url":"https://api.github.com/users/xlilien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlilien/subscriptions","organizations_url":"https://api.github.com/users/xlilien/orgs","repos_url":"https://api.github.com/users/xlilien/repos","events_url":"https://api.github.com/users/xlilien/events{/privacy}","received_events_url":"https://api.github.com/users/xlilien/received_events","type":"User","site_admin":false},"body":"Na jinych mistech v `LogisticsClient`se pouziva `intval`. Nerikam, ze je potreba to pouzit i zde, jen jsem si toho vsimnul.","created_at":"2016-02-29T11:07:59Z","updated_at":"2016-02-29T11:07:59Z","html_url":"https://github.com/damejidlo/cargo-client/pull/21#discussion_r54396214","pull_request_url":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/damejidlo/cargo-client/pulls/comments/54396214"},"html":{"href":"https://github.com/damejidlo/cargo-client/pull/21#discussion_r54396214"},"pull_request":{"href":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21","id":60334933,"html_url":"https://github.com/damejidlo/cargo-client/pull/21","diff_url":"https://github.com/damejidlo/cargo-client/pull/21.diff","patch_url":"https://github.com/damejidlo/cargo-client/pull/21.patch","issue_url":"https://api.github.com/repos/damejidlo/cargo-client/issues/21","number":21,"state":"open","locked":false,"title":"DJ-1457 Ukládání vytíženosti","user":{"login":"ondrejbouda","id":7202895,"avatar_url":"https://avatars.githubusercontent.com/u/7202895?v=3","gravatar_id":"","url":"https://api.github.com/users/ondrejbouda","html_url":"https://github.com/ondrejbouda","followers_url":"https://api.github.com/users/ondrejbouda/followers","following_url":"https://api.github.com/users/ondrejbouda/following{/other_user}","gists_url":"https://api.github.com/users/ondrejbouda/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejbouda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejbouda/subscriptions","organizations_url":"https://api.github.com/users/ondrejbouda/orgs","repos_url":"https://api.github.com/users/ondrejbouda/repos","events_url":"https://api.github.com/users/ondrejbouda/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejbouda/received_events","type":"User","site_admin":false},"body":"https://damejidlocz.atlassian.net/browse/DJ-1457","created_at":"2016-02-23T12:52:12Z","updated_at":"2016-02-29T11:07:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af83348a1ae3badc19b3f8a5018e7fb40874da60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21/commits","review_comments_url":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21/comments","review_comment_url":"https://api.github.com/repos/damejidlo/cargo-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/damejidlo/cargo-client/issues/21/comments","statuses_url":"https://api.github.com/repos/damejidlo/cargo-client/statuses/f9ea08761a8aecfd334886313a9cb6915ba6bd1c","head":{"label":"ondrejbouda:feature/DJ-1457","ref":"feature/DJ-1457","sha":"f9ea08761a8aecfd334886313a9cb6915ba6bd1c","user":{"login":"ondrejbouda","id":7202895,"avatar_url":"https://avatars.githubusercontent.com/u/7202895?v=3","gravatar_id":"","url":"https://api.github.com/users/ondrejbouda","html_url":"https://github.com/ondrejbouda","followers_url":"https://api.github.com/users/ondrejbouda/followers","following_url":"https://api.github.com/users/ondrejbouda/following{/other_user}","gists_url":"https://api.github.com/users/ondrejbouda/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejbouda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejbouda/subscriptions","organizations_url":"https://api.github.com/users/ondrejbouda/orgs","repos_url":"https://api.github.com/users/ondrejbouda/repos","events_url":"https://api.github.com/users/ondrejbouda/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejbouda/received_events","type":"User","site_admin":false},"repo":{"id":52083644,"name":"cargo-client","full_name":"ondrejbouda/cargo-client","owner":{"login":"ondrejbouda","id":7202895,"avatar_url":"https://avatars.githubusercontent.com/u/7202895?v=3","gravatar_id":"","url":"https://api.github.com/users/ondrejbouda","html_url":"https://github.com/ondrejbouda","followers_url":"https://api.github.com/users/ondrejbouda/followers","following_url":"https://api.github.com/users/ondrejbouda/following{/other_user}","gists_url":"https://api.github.com/users/ondrejbouda/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejbouda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejbouda/subscriptions","organizations_url":"https://api.github.com/users/ondrejbouda/orgs","repos_url":"https://api.github.com/users/ondrejbouda/repos","events_url":"https://api.github.com/users/ondrejbouda/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejbouda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ondrejbouda/cargo-client","description":"","fork":true,"url":"https://api.github.com/repos/ondrejbouda/cargo-client","forks_url":"https://api.github.com/repos/ondrejbouda/cargo-client/forks","keys_url":"https://api.github.com/repos/ondrejbouda/cargo-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ondrejbouda/cargo-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ondrejbouda/cargo-client/teams","hooks_url":"https://api.github.com/repos/ondrejbouda/cargo-client/hooks","issue_events_url":"https://api.github.com/repos/ondrejbouda/cargo-client/issues/events{/number}","events_url":"https://api.github.com/repos/ondrejbouda/cargo-client/events","assignees_url":"https://api.github.com/repos/ondrejbouda/cargo-client/assignees{/user}","branches_url":"https://api.github.com/repos/ondrejbouda/cargo-client/branches{/branch}","tags_url":"https://api.github.com/repos/ondrejbouda/cargo-client/tags","blobs_url":"https://api.github.com/repos/ondrejbouda/cargo-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ondrejbouda/cargo-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ondrejbouda/cargo-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/ondrejbouda/cargo-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ondrejbouda/cargo-client/statuses/{sha}","languages_url":"https://api.github.com/repos/ondrejbouda/cargo-client/languages","stargazers_url":"https://api.github.com/repos/ondrejbouda/cargo-client/stargazers","contributors_url":"https://api.github.com/repos/ondrejbouda/cargo-client/contributors","subscribers_url":"https://api.github.com/repos/ondrejbouda/cargo-client/subscribers","subscription_url":"https://api.github.com/repos/ondrejbouda/cargo-client/subscription","commits_url":"https://api.github.com/repos/ondrejbouda/cargo-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/ondrejbouda/cargo-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/ondrejbouda/cargo-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/ondrejbouda/cargo-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/ondrejbouda/cargo-client/contents/{+path}","compare_url":"https://api.github.com/repos/ondrejbouda/cargo-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ondrejbouda/cargo-client/merges","archive_url":"https://api.github.com/repos/ondrejbouda/cargo-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ondrejbouda/cargo-client/downloads","issues_url":"https://api.github.com/repos/ondrejbouda/cargo-client/issues{/number}","pulls_url":"https://api.github.com/repos/ondrejbouda/cargo-client/pulls{/number}","milestones_url":"https://api.github.com/repos/ondrejbouda/cargo-client/milestones{/number}","notifications_url":"https://api.github.com/repos/ondrejbouda/cargo-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ondrejbouda/cargo-client/labels{/name}","releases_url":"https://api.github.com/repos/ondrejbouda/cargo-client/releases{/id}","deployments_url":"https://api.github.com/repos/ondrejbouda/cargo-client/deployments","created_at":"2016-02-19T11:33:14Z","updated_at":"2016-02-19T11:33:14Z","pushed_at":"2016-02-25T12:31:19Z","git_url":"git://github.com/ondrejbouda/cargo-client.git","ssh_url":"git@github.com:ondrejbouda/cargo-client.git","clone_url":"https://github.com/ondrejbouda/cargo-client.git","svn_url":"https://github.com/ondrejbouda/cargo-client","homepage":"https://magnum.travis-ci.com/damejidlo/cargo-client","size":25,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"damejidlo:master","ref":"master","sha":"b6963aa5319977ca0842cefd2b9ae2a7b2715f5d","user":{"login":"damejidlo","id":2973131,"avatar_url":"https://avatars.githubusercontent.com/u/2973131?v=3","gravatar_id":"","url":"https://api.github.com/users/damejidlo","html_url":"https://github.com/damejidlo","followers_url":"https://api.github.com/users/damejidlo/followers","following_url":"https://api.github.com/users/damejidlo/following{/other_user}","gists_url":"https://api.github.com/users/damejidlo/gists{/gist_id}","starred_url":"https://api.github.com/users/damejidlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damejidlo/subscriptions","organizations_url":"https://api.github.com/users/damejidlo/orgs","repos_url":"https://api.github.com/users/damejidlo/repos","events_url":"https://api.github.com/users/damejidlo/events{/privacy}","received_events_url":"https://api.github.com/users/damejidlo/received_events","type":"Organization","site_admin":false},"repo":{"id":22985227,"name":"cargo-client","full_name":"damejidlo/cargo-client","owner":{"login":"damejidlo","id":2973131,"avatar_url":"https://avatars.githubusercontent.com/u/2973131?v=3","gravatar_id":"","url":"https://api.github.com/users/damejidlo","html_url":"https://github.com/damejidlo","followers_url":"https://api.github.com/users/damejidlo/followers","following_url":"https://api.github.com/users/damejidlo/following{/other_user}","gists_url":"https://api.github.com/users/damejidlo/gists{/gist_id}","starred_url":"https://api.github.com/users/damejidlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damejidlo/subscriptions","organizations_url":"https://api.github.com/users/damejidlo/orgs","repos_url":"https://api.github.com/users/damejidlo/repos","events_url":"https://api.github.com/users/damejidlo/events{/privacy}","received_events_url":"https://api.github.com/users/damejidlo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/damejidlo/cargo-client","description":"","fork":false,"url":"https://api.github.com/repos/damejidlo/cargo-client","forks_url":"https://api.github.com/repos/damejidlo/cargo-client/forks","keys_url":"https://api.github.com/repos/damejidlo/cargo-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damejidlo/cargo-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damejidlo/cargo-client/teams","hooks_url":"https://api.github.com/repos/damejidlo/cargo-client/hooks","issue_events_url":"https://api.github.com/repos/damejidlo/cargo-client/issues/events{/number}","events_url":"https://api.github.com/repos/damejidlo/cargo-client/events","assignees_url":"https://api.github.com/repos/damejidlo/cargo-client/assignees{/user}","branches_url":"https://api.github.com/repos/damejidlo/cargo-client/branches{/branch}","tags_url":"https://api.github.com/repos/damejidlo/cargo-client/tags","blobs_url":"https://api.github.com/repos/damejidlo/cargo-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damejidlo/cargo-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damejidlo/cargo-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/damejidlo/cargo-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damejidlo/cargo-client/statuses/{sha}","languages_url":"https://api.github.com/repos/damejidlo/cargo-client/languages","stargazers_url":"https://api.github.com/repos/damejidlo/cargo-client/stargazers","contributors_url":"https://api.github.com/repos/damejidlo/cargo-client/contributors","subscribers_url":"https://api.github.com/repos/damejidlo/cargo-client/subscribers","subscription_url":"https://api.github.com/repos/damejidlo/cargo-client/subscription","commits_url":"https://api.github.com/repos/damejidlo/cargo-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/damejidlo/cargo-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/damejidlo/cargo-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/damejidlo/cargo-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/damejidlo/cargo-client/contents/{+path}","compare_url":"https://api.github.com/repos/damejidlo/cargo-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damejidlo/cargo-client/merges","archive_url":"https://api.github.com/repos/damejidlo/cargo-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damejidlo/cargo-client/downloads","issues_url":"https://api.github.com/repos/damejidlo/cargo-client/issues{/number}","pulls_url":"https://api.github.com/repos/damejidlo/cargo-client/pulls{/number}","milestones_url":"https://api.github.com/repos/damejidlo/cargo-client/milestones{/number}","notifications_url":"https://api.github.com/repos/damejidlo/cargo-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damejidlo/cargo-client/labels{/name}","releases_url":"https://api.github.com/repos/damejidlo/cargo-client/releases{/id}","deployments_url":"https://api.github.com/repos/damejidlo/cargo-client/deployments","created_at":"2014-08-15T09:39:54Z","updated_at":"2015-12-01T15:04:45Z","pushed_at":"2016-02-25T12:31:19Z","git_url":"git://github.com/damejidlo/cargo-client.git","ssh_url":"git@github.com:damejidlo/cargo-client.git","clone_url":"https://github.com/damejidlo/cargo-client.git","svn_url":"https://github.com/damejidlo/cargo-client","homepage":"https://magnum.travis-ci.com/damejidlo/cargo-client","size":34,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21"},"html":{"href":"https://github.com/damejidlo/cargo-client/pull/21"},"issue":{"href":"https://api.github.com/repos/damejidlo/cargo-client/issues/21"},"comments":{"href":"https://api.github.com/repos/damejidlo/cargo-client/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/damejidlo/cargo-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/damejidlo/cargo-client/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/damejidlo/cargo-client/statuses/f9ea08761a8aecfd334886313a9cb6915ba6bd1c"}}}}