Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON: Return Arrays if there are multiple values #32

Open
Grauen opened this issue Nov 19, 2017 · 4 comments
Open

JSON: Return Arrays if there are multiple values #32

Grauen opened this issue Nov 19, 2017 · 4 comments

Comments

@Grauen
Copy link

Grauen commented Nov 19, 2017

At this moment, OMDb returns multiple values in a single field.

E.g.
"Genre":"Horror, Mystery"
This should be split into an array:
"Genre":["Horror","Mystery"]

This extends to actors, awards etc..

There is an array called "Ratings" - but this only contains the imdb rating.
"Ratings":[{"Source":"Internet Movie Database","Value":"6.8/10"}]
There are additional entries for metascore rating and a second imdb rating, outside the array.
"Metascore":"N/A","imdbRating":"6.8","imdbVotes":"1,848"

I think there is lots of stuff we could clean up, to provide a great experience using omdb.

@ohhsodead
Copy link

Yes I agree, would be a great feature 👍

@omdbapi
Copy link
Owner

omdbapi commented Apr 14, 2018

Working on this in the v2 response, I will have a preview of the new JSON format posted on Patreon for everyone to see/leave feedback.

@Grauen
Copy link
Author

Grauen commented Jul 4, 2018

@omdbapi
Got any update on this? :)

@Grauen
Copy link
Author

Grauen commented Nov 7, 2018

@omdbapi
Any Update, yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants