{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoers/PokeData/issues/136","repository_url":"https://api.github.com/repos/PokemonGoers/PokeData","labels_url":"https://api.github.com/repos/PokemonGoers/PokeData/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoers/PokeData/issues/136/comments","events_url":"https://api.github.com/repos/PokemonGoers/PokeData/issues/136/events","html_url":"https://github.com/PokemonGoers/PokeData/issues/136","id":176191195,"number":136,"title":"getPokemonByName: Partial search","user":{"login":"johartl","id":12528430,"avatar_url":"https://avatars.githubusercontent.com/u/12528430?v=3","gravatar_id":"","url":"https://api.github.com/users/johartl","html_url":"https://github.com/johartl","followers_url":"https://api.github.com/users/johartl/followers","following_url":"https://api.github.com/users/johartl/following{/other_user}","gists_url":"https://api.github.com/users/johartl/gists{/gist_id}","starred_url":"https://api.github.com/users/johartl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johartl/subscriptions","organizations_url":"https://api.github.com/users/johartl/orgs","repos_url":"https://api.github.com/users/johartl/repos","events_url":"https://api.github.com/users/johartl/events{/privacy}","received_events_url":"https://api.github.com/users/johartl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-10T17:26:18Z","updated_at":"2016-09-12T18:18:46Z","closed_at":null,"body":"In the app we would like to display a search bar which lets you query for Pokemon names. For this we will send a request to the `getPokemonByName` route and show the results in a list.\r\nIdeally the search bar already shows suggestions as-you-type. The current API, however, will only return results if the entire Pokemon name matches exactly. Would it be possible to also return matches if the search query only partially matches?\r\n\r\n```\r\n\"bulbasaur\" -> [Bulbasaur]\r\n\"bulba\" -> [Bulbasaur]\r\n\"basa\" -> [Bulbasaur]\r\n```\r\n\r\nAnother feature request would be to correct small typos, e.g. if the user only misspelled the name by one character (\"B**a**lbasaur\" instead of \"B**u**lbasaur\"). I don't know if that would be a lot of work. Maybe MongoDB already comes with a function for that?"},"comment":{"url":"https://api.github.com/repos/PokemonGoers/PokeData/issues/comments/246441187","html_url":"https://github.com/PokemonGoers/PokeData/issues/136#issuecomment-246441187","issue_url":"https://api.github.com/repos/PokemonGoers/PokeData/issues/136","id":246441187,"user":{"login":"johartl","id":12528430,"avatar_url":"https://avatars.githubusercontent.com/u/12528430?v=3","gravatar_id":"","url":"https://api.github.com/users/johartl","html_url":"https://github.com/johartl","followers_url":"https://api.github.com/users/johartl/followers","following_url":"https://api.github.com/users/johartl/following{/other_user}","gists_url":"https://api.github.com/users/johartl/gists{/gist_id}","starred_url":"https://api.github.com/users/johartl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johartl/subscriptions","organizations_url":"https://api.github.com/users/johartl/orgs","repos_url":"https://api.github.com/users/johartl/repos","events_url":"https://api.github.com/users/johartl/events{/privacy}","received_events_url":"https://api.github.com/users/johartl/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T18:18:46Z","updated_at":"2016-09-12T18:18:46Z","body":"@vivek-sethia It would be nice if you guys could take care that. This also seems more like a backend topic to me. But let me know if you need help :)"}}
{"actor":{"display_login":"johartl"}}