Skip to content

Commit

Permalink
30 days helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
adriens committed Apr 11, 2021
1 parent 263086a commit 5b82655
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.adriens.imgflip</groupId>
<artifactId>imgflip4j</artifactId>
<version>1.7</version>
<version>1.8</version>
<packaging>jar</packaging>
<description>A Java SDK to interact with Imgflip API.</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ public static String getPathOfTopSevendays(String stream, int page){
public static String getPathOfTopSevendays(String stream){
return getPathOfTopSevendays(stream, 1);
}
public static String getPathOfTopThirtyDays(String stream, int page){
return getPathOfTop(stream, "top-30d", page);
}
public static String getPathOfTopThirtyDays(String stream){
return getPathOfTop(stream, "top-30d");
return getPathOfTopThirtyDays(stream, 1);
}
public static String getPathOfTopLastMonth(String stream, int page){
//top-2021-03
Expand Down

0 comments on commit 5b82655

Please sign in to comment.