omdbapi / OMDb-API

The Open Movie Database Bug Tracking
421 stars 21 forks source link

add Game in type #132

Open alexeizinin opened 5 years ago

alexeizinin commented 5 years ago

Dears, Can you add the type "game" to the search?

In the database there are already many records with this type. Thanks

alexeizinin commented 5 years ago

type=game working not documented

torben-w commented 5 years ago

While the search works, it's not possible to get a game by title:

http://www.omdbapi.com/?apikey=[...]&t=skyrim&type=game will cause the error { "Response": "False", "Error": "Movie not found!" } while the same query works with type movie or without a type.

Getting a game by id works fine: http://www.omdbapi.com/?apikey=[...]&i=tt1814884

jerrebm commented 4 years ago

+1 for this. Need the search to work withtype=game in order to list suggestions in a search box

torben-w commented 4 years ago

Search with &i=...&type=game should work.

jerrebm commented 4 years ago

Search with &i=...&type=game should work.

@torben-w I tried, it doesn’t work for the general search if you you don’t know the ID yet.

torben-w commented 4 years ago

Sorry, I meant s instead of i. I haven't tested it now, but I know it worked a few months ago.