Skip to content

Commit

Permalink
Replaced v1 URLs with v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
damienhaynes committed Jul 6, 2015
1 parent 7b71084 commit 96c1e7e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyVersion("2.1.1.0")]
[assembly: AssemblyFileVersion("2.1.1.0")]
34 changes: 17 additions & 17 deletions TraktAPI/TraktURIs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@
/// </summary>
public static class TraktURIs
{
public const string Login = @"http://api.trakt.tv/auth/login";
public const string Login = @"http://api-v2launch.trakt.tv/auth/login";

public const string RatedMovies = @"http://api.trakt.tv/sync/ratings/movies";
public const string RatedShows = @"http://api.trakt.tv/sync/ratings/shows";
public const string RatedEpisodes = @"http://api.trakt.tv/sync/ratings/episodes";
public const string RatedSeasons = @"http://api.trakt.tv/sync/ratings/seasons";
public const string RatedMovies = @"http://api-v2launch.trakt.tv/sync/ratings/movies";
public const string RatedShows = @"http://api-v2launch.trakt.tv/sync/ratings/shows";
public const string RatedEpisodes = @"http://api-v2launch.trakt.tv/sync/ratings/episodes";
public const string RatedSeasons = @"http://api-v2launch.trakt.tv/sync/ratings/seasons";

public const string WatchedMovies = @"http://api.trakt.tv/sync/watched/movies";
public const string WatchedShows = @"http://api.trakt.tv/sync/watched/shows";
public const string WatchedMovies = @"http://api-v2launch.trakt.tv/sync/watched/movies";
public const string WatchedShows = @"http://api-v2launch.trakt.tv/sync/watched/shows";

public const string CollectedMovies = @"http://api.trakt.tv/sync/collection/movies";
public const string CollectedShows = @"http://api.trakt.tv/sync/collection/shows";
public const string CollectedMovies = @"http://api-v2launch.trakt.tv/sync/collection/movies";
public const string CollectedShows = @"http://api-v2launch.trakt.tv/sync/collection/shows";

public const string WatchlistMovies = @"http://api.trakt.tv/sync/watchlist/movies";
public const string WatchlistShows = @"http://api.trakt.tv/sync/watchlist/shows";
public const string WatchlistEpisodes = @"http://api.trakt.tv/sync/watchlist/episodes";
public const string WatchlistSeasons = @"http://api.trakt.tv/sync/watchlist/seasons";
public const string WatchlistMovies = @"http://api-v2launch.trakt.tv/sync/watchlist/movies";
public const string WatchlistShows = @"http://api-v2launch.trakt.tv/sync/watchlist/shows";
public const string WatchlistEpisodes = @"http://api-v2launch.trakt.tv/sync/watchlist/episodes";
public const string WatchlistSeasons = @"http://api-v2launch.trakt.tv/sync/watchlist/seasons";

public const string SyncRatings = @"http://api.trakt.tv/sync/ratings";
public const string SyncWatchlist = @"http://api.trakt.tv/sync/watchlist";
public const string SyncWatched = @"http://api.trakt.tv/sync/history";
public const string SyncRatings = @"http://api-v2launch.trakt.tv/sync/ratings";
public const string SyncWatchlist = @"http://api-v2launch.trakt.tv/sync/watchlist";
public const string SyncWatched = @"http://api-v2launch.trakt.tv/sync/history";
public const string SyncWatchedRemove = "https://api-v2launch.trakt.tv/sync/history/remove";
public const string SyncCollectionRemove = "https://api-v2launch.trakt.tv/sync/collection/remove";
public const string SyncRatingsRemove = "https://api-v2launch.trakt.tv/sync/ratings/remove";
public const string SyncWatchlistRemove = "https://api-v2launch.trakt.tv/sync/watchlist/remove";

public const string ShowSummary = @"http://api.trakt.tv/shows/{0}?extended=full";
public const string ShowSummary = @"http://api-v2launch.trakt.tv/shows/{0}?extended=full";
}
}

0 comments on commit 96c1e7e

Please sign in to comment.