{"action":"closed","issue":{"url":"https://api.github.com/repos/amro/gibbon/issues/135","labels_url":"https://api.github.com/repos/amro/gibbon/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/amro/gibbon/issues/135/comments","events_url":"https://api.github.com/repos/amro/gibbon/issues/135/events","html_url":"https://github.com/amro/gibbon/issues/135","id":102610590,"number":135,"title":"Obtaining an interest ID from interest title","user":{"login":"DanielKehoe","id":950301,"avatar_url":"https://avatars.githubusercontent.com/u/950301?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielKehoe","html_url":"https://github.com/DanielKehoe","followers_url":"https://api.github.com/users/DanielKehoe/followers","following_url":"https://api.github.com/users/DanielKehoe/following{/other_user}","gists_url":"https://api.github.com/users/DanielKehoe/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielKehoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielKehoe/subscriptions","organizations_url":"https://api.github.com/users/DanielKehoe/orgs","repos_url":"https://api.github.com/users/DanielKehoe/repos","events_url":"https://api.github.com/users/DanielKehoe/events{/privacy}","received_events_url":"https://api.github.com/users/DanielKehoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-23T11:31:16Z","updated_at":"2015-08-23T13:35:32Z","closed_at":"2015-08-23T13:35:32Z","body":"The README provides an example of obtaining a list of interest categories for any mailing list:\r\n```\r\ngibbon.lists(list_id).interest_categories.retrieve\r\n```\r\nThis returns a hash of categories with IDs and titles.\r\n\r\nCan you expand the example to show the Ruby code that we should use to get the category ID if we only know the category title?\r\n\r\nOr even better, would you consider adding a Gibbon API method to look up a category ID given parameters of list ID and category title? Like:\r\n```\r\ng.lists(list_id).interest_categories.retrieve_id_by_title('some_category_title')\r\n```\r\n"}}