The Movie Database Support

I was going through the return objects from the Restful webservices and I was wondering if you have any class diagrams or object mappings.

I ask because I'm trying to build a graph from the returned data and depending on my REST request I get different objects with different fields. For instance a search for credits on a movie returns arrays of cast and crew that have different fields and different values. A search for a movie returns the same arrays and again they are different.

I'm just wondering if there is a base class for say person then actor and crew extend from it or if its all kind of free play. It makes mapping out nodes easier if there are common fields between like objects. A diagram would be great so I know both actor and crew have the name field and any new types will extend that same base and I can be sure they also have the same name.

In essence I'm wondering if you could add the return types, field names and values with their meanings to your documentation.

And thanks again for the DB, Netflix closed theirs and amazon is an IMDBag.

It makes really nice graphs.

1 reply (on page 1 of 1)

Jump to last post

Hi ascheffe,

In essence I'm wondering if you could add the return types, field names and values with their meanings to your documentation.

There is no specific list but you can see example responses on each of the API methods on the documentation website (click the actual methods and they'll expand). That's the best we have right now.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login