This repository was archived by the owner on Dec 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ public async void Get_Episode_List()
4444 {
4545 EpisodeFilter filter = new EpisodeFilter ( )
4646 {
47- AnimeId = 1 ,
48- Source = "gogoanime" ,
47+ AnimeId = 11 ,
48+ IsDub = true ,
4949 Locale = "en" ,
5050 Sort = new Dictionary < string , SortDirectionEnum > ( )
5151 {
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <TargetFramework >net5.0</TargetFramework >
55 <PackageId >AniAPI.NET</PackageId >
6- <Version >1.1.1 </Version >
6+ <Version >1.1.2 </Version >
77 <Authors >Dazorn96</Authors >
88 <Company >AnIAPI</Company >
99 <PackageReleaseNotes >Updated to AniAPI version 1.1.0</PackageReleaseNotes >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public class EpisodeFilter : IFilter
1111 {
1212 public long ? AnimeId { get ; set ; }
1313 public int ? Number { get ; set ; }
14- public string Source { get ; set ; }
14+ public bool ? IsDub { get ; set ; }
1515 public string Locale { get ; set ; }
1616
1717 protected override void FillQueryParameters ( )
@@ -26,9 +26,9 @@ protected override void FillQueryParameters()
2626 Parameters . Add ( "number" , Number . ToString ( ) ) ;
2727 }
2828
29- if ( ! string . IsNullOrEmpty ( Source ) )
29+ if ( IsDub != null )
3030 {
31- Parameters . Add ( "source " , Source ) ;
31+ Parameters . Add ( "is_dub " , IsDub . Value ? "true" : "false" ) ;
3232 }
3333
3434 if ( ! string . IsNullOrEmpty ( Locale ) )
Original file line number Diff line number Diff line change 11[ ![ Build badge] ( https://img.shields.io/badge/build-passing-green )] ( # )
2- [ ![ Nuget badge] ( https://img.shields.io/badge/nuget-v1.1.1 -blue )] ( https://www.nuget.org/packages/AniAPI.NET/1.1.1 )
2+ [ ![ Nuget badge] ( https://img.shields.io/badge/nuget-v1.1.2 -blue )] ( https://www.nuget.org/packages/AniAPI.NET/1.1.2 )
33
44# AniAPI.NET
55
You can’t perform that action at this time.
0 commit comments