-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2] Add movies module implementation (WIP)
- Loading branch information
1 parent
3371dbb
commit 1baa2f8
Showing
31 changed files
with
2,627 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace TraktNET | ||
{ | ||
/// <summary>A box office Trakt movie.</summary> | ||
public record class TraktBoxOfficeMovie : TraktCollectionMovie | ||
{ | ||
/// <summary>The revenue for the <see cref="Movie" />.</summary> | ||
public uint? Revenue { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace TraktNET | ||
{ | ||
/// <summary>A most anticipated Trakt movie.</summary> | ||
public record class TraktMostAnticipatedMovie : TraktCollectionMovie | ||
{ | ||
/// <summary>The list count for the <see cref="Movie" />.</summary> | ||
public uint? ListCount { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace TraktNET | ||
{ | ||
/// <summary>An updated Trakt movie.</summary> | ||
public record class TraktUpdatedMovie : TraktCollectionMovie | ||
{ | ||
/// <summary>The UTC datetime, when the <see cref="Movie" /> was updated.</summary> | ||
public new DateTime? UpdatedAt { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"revenue": 52000000, | ||
"movie": { | ||
"title": "Beetlejuice Beetlejuice", | ||
"year": 2024, | ||
"ids": { | ||
"trakt": 734869, | ||
"slug": "beetlejuice-beetlejuice-2024", | ||
"imdb": "tt2049403", | ||
"tmdb": 917496 | ||
}, | ||
"tagline": "The ghost with the most is back.", | ||
"overview": "After a family tragedy, three generations of the Deetz family return home to Winter River.", | ||
"released": "2024-09-06", | ||
"runtime": 105, | ||
"country": "us", | ||
"status": "released", | ||
"rating": 7.16738, | ||
"votes": 1631, | ||
"comment_count": 29, | ||
"trailer": "https://youtube.com/watch?v=As-vKW4ZboU", | ||
"homepage": "http://www.beetlejuicemovie.com", | ||
"updated_at": "2024-09-21T17:39:23.000Z", | ||
"language": "en", | ||
"languages": [ | ||
"en", | ||
"it", | ||
"es" | ||
], | ||
"available_translations": [ | ||
"ar", | ||
"az", | ||
"bg", | ||
"ca", | ||
"cs", | ||
"de", | ||
"el", | ||
"en", | ||
"es", | ||
"fa", | ||
"fi", | ||
"fr", | ||
"he", | ||
"hr", | ||
"hu", | ||
"it", | ||
"ja", | ||
"ka", | ||
"ko", | ||
"nl", | ||
"pl", | ||
"pt", | ||
"ru", | ||
"sk", | ||
"sl", | ||
"sv", | ||
"th", | ||
"tr", | ||
"uk", | ||
"vi", | ||
"zh" | ||
], | ||
"genres": [ | ||
"comedy", | ||
"fantasy", | ||
"horror" | ||
], | ||
"certification": "PG-13" | ||
} | ||
} |
Oops, something went wrong.