@@ -22,15 +22,15 @@ type MovieDetails struct {
2222 ID int64 `json:"id"`
2323 Name string `json:"name"`
2424 } `json:"genres"`
25- Homepage string `json:"homepage"`
26- ID int64 `json:"id"`
27- IMDbID string `json:"imdb_id"`
28- OriginalLanguage string `json:"original_language"`
29- OriginalTitle string `json:"original_title"`
30- Overview string `json:"overview"`
31- Popularity float32 `json:"popularity"`
32- PosterPath string `json:"poster_path"`
33- OriginCountry []string `json:"origin_country"`
25+ Homepage string `json:"homepage"`
26+ ID int64 `json:"id"`
27+ IMDbID string `json:"imdb_id"`
28+ OriginalLanguage string `json:"original_language"`
29+ OriginalTitle string `json:"original_title"`
30+ Overview string `json:"overview"`
31+ Popularity float32 `json:"popularity"`
32+ PosterPath string `json:"poster_path"`
33+ OriginCountry []string `json:"origin_country"`
3434 ProductionCompanies []struct {
3535 Name string `json:"name"`
3636 ID int64 `json:"id"`
@@ -154,7 +154,6 @@ type MovieWatchProvidersAppend struct {
154154// GetMovieDetails get the primary information about a movie.
155155//
156156// https://developers.themoviedb.org/3/movies
157- //
158157func (c * Client ) GetMovieDetails (
159158 id int ,
160159 urlOptions map [string ]string ,
@@ -192,7 +191,6 @@ type MovieAccountStates struct {
192191// If it belongs to your favourite list.
193192//
194193// https://developers.themoviedb.org/3/movies/get-movie-account-states
195- //
196194func (c * Client ) GetMovieAccountStates (
197195 id int ,
198196 urlOptions map [string ]string ,
@@ -348,6 +346,7 @@ type MovieExternalIDs struct {
348346 FacebookID string `json:"facebook_id"`
349347 InstagramID string `json:"instagram_id"`
350348 TwitterID string `json:"twitter_id"`
349+ WikiData string `json:"wikidata_id,omitempty"`
351350 ID int64 `json:"id,omitempty"`
352351}
353352
@@ -393,7 +392,7 @@ type MovieImage struct {
393392
394393// MovieImages type is a struct for images JSON response.
395394type MovieImages struct {
396- ID int64 `json:"id,omitempty"`
395+ ID int64 `json:"id,omitempty"`
397396 Backdrops []MovieImage `json:"backdrops"`
398397 Logos []MovieImage `json:"logos"`
399398 Posters []MovieImage `json:"posters"`
0 commit comments