{"action":"created","issue":{"url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/issues/2","labels_url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/issues/2/comments","events_url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/issues/2/events","html_url":"https://github.com/TheDoubleK/digitalmarketplace-thermos/pull/2","id":56809102,"number":2,"title":"Add presenter for search results dictionary","user":{"login":"tombye","id":87140,"avatar_url":"https://avatars.githubusercontent.com/u/87140?v=3","gravatar_id":"","url":"https://api.github.com/users/tombye","html_url":"https://github.com/tombye","followers_url":"https://api.github.com/users/tombye/followers","following_url":"https://api.github.com/users/tombye/following{/other_user}","gists_url":"https://api.github.com/users/tombye/gists{/gist_id}","starred_url":"https://api.github.com/users/tombye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombye/subscriptions","organizations_url":"https://api.github.com/users/tombye/orgs","repos_url":"https://api.github.com/users/tombye/repos","events_url":"https://api.github.com/users/tombye/events{/privacy}","received_events_url":"https://api.github.com/users/tombye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-06T13:01:38Z","updated_at":"2015-02-11T11:37:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/pulls/2","html_url":"https://github.com/TheDoubleK/digitalmarketplace-thermos/pull/2","diff_url":"https://github.com/TheDoubleK/digitalmarketplace-thermos/pull/2.diff","patch_url":"https://github.com/TheDoubleK/digitalmarketplace-thermos/pull/2.patch"},"body":"To be used like so:\r\n\r\n```\r\nfrom helpers.presenters import SearchResults\r\n\r\nsearch_results = presenters.SearchResults(res)\r\ntotal = search_results.get_total()\r\nservices = search_results.get_services()\r\n```\r\n\r\nBoth methods return dictionaries."},"comment":{"url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/issues/comments/73868131","html_url":"https://github.com/TheDoubleK/digitalmarketplace-thermos/pull/2#issuecomment-73868131","issue_url":"https://api.github.com/repos/TheDoubleK/digitalmarketplace-thermos/issues/2","id":73868131,"user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T11:37:21Z","updated_at":"2015-02-11T11:37:21Z","body":"Looks good - or at least better than it was!"}}