diff --git a/TMDbLib/Client/TMDbClientPeople.cs b/TMDbLib/Client/TMDbClientPeople.cs index 9f942805..db4b4009 100644 --- a/TMDbLib/Client/TMDbClientPeople.cs +++ b/TMDbLib/Client/TMDbClientPeople.cs @@ -160,5 +160,10 @@ public async Task GetPersonTvCreditsAsync(int personId, string langua { return await GetPersonMethodInternal(personId, PersonMethods.TvCredits, language: language, cancellationToken: cancellationToken).ConfigureAwait(false); } + + public async Task GePersonTranslationsAsync(int personId, CancellationToken cancellationToken = default) + { + return await GetPersonMethodInternal(personId, PersonMethods.Translations, cancellationToken: cancellationToken).ConfigureAwait(false); + } } } \ No newline at end of file diff --git a/TMDbLib/Objects/People/Person.cs b/TMDbLib/Objects/People/Person.cs index c090f600..0d3afa7a 100644 --- a/TMDbLib/Objects/People/Person.cs +++ b/TMDbLib/Objects/People/Person.cs @@ -70,5 +70,8 @@ public class Person [JsonProperty("tv_credits")] public TvCredits TvCredits { get; set; } + + [JsonProperty("translations")] + public TranslationsContainer Translations { get; set; } } } \ No newline at end of file diff --git a/TMDbLib/Objects/People/PersonMethods.cs b/TMDbLib/Objects/People/PersonMethods.cs index 571f5b38..1c8e4128 100644 --- a/TMDbLib/Objects/People/PersonMethods.cs +++ b/TMDbLib/Objects/People/PersonMethods.cs @@ -19,6 +19,8 @@ public enum PersonMethods [EnumValue("tagged_images")] TaggedImages = 16, [EnumValue("changes")] - Changes = 32 + Changes = 32, + [EnumValue("translations")] + Translations = 64, } } \ No newline at end of file