Skip to content

Commit

Permalink
ニコレポAPIのエンドポイント変更に対応。
Browse files Browse the repository at this point in the history
  • Loading branch information
tor4kichi committed Oct 6, 2023
1 parent 9468c63 commit a150f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NiconicoToolkit.Shared/NicoRepo/NicoRepoClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal NicoRepoClient(NiconicoContext context, JsonSerializerOptions options)

internal static class Urls
{
public const string NicorepoTimelineApiUrl = $"{NiconicoUrls.PublicApiV1Url}timelines/nicorepo/last-1-month/my/pc/entries.json";
public const string NicorepoTimelineApiUrl = $"{NiconicoUrls.NicorepoApiV1Url}timelines/nicorepo/last-1-month/my/pc/entries.json";
}

/// <remarks>[Require Login]</remarks>
Expand Down
1 change: 1 addition & 0 deletions NiconicoToolkit.Shared/NiconicoUrls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static class NiconicoUrls
public const string PublicApiV1Url = "https://public.api.nicovideo.jp/v1/";
public const string UserApiV1Url = "https://user-follow-api.nicovideo.jp/v1/";
public const string LiveApiV1Url = "https://api.live2.nicovideo.jp/api/v1/";
public const string NicorepoApiV1Url = "https://api.repoline.nicovideo.jp/v1/";

public const string NicoChannelHost = $"ch.{NicoDomain}";
public const string ChannelPageUrl = $"https://{NicoChannelHost}/";
Expand Down

0 comments on commit a150f7a

Please sign in to comment.