Skip to content

Commit

Permalink
Top 7 daus functions
Browse files Browse the repository at this point in the history
  • Loading branch information
adriens committed Apr 11, 2021
1 parent ddf64fe commit 263086a
Show file tree
Hide file tree
Showing 2 changed files with 6 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.6</version>
<version>1.7</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 @@ -80,8 +80,12 @@ public static String getPathOfTopOneDay(String stream, int page){
public static String getPathOfTopOneDay(String stream){
return getPathOfTop(stream, "top-1d", 1);
}
public static String getPathOfTopSevendays(String stream, int page){
return getPathOfTop(stream, "top-7d", page);
}

public static String getPathOfTopSevendays(String stream){
return getPathOfTop(stream, "top-7d");
return getPathOfTopSevendays(stream, 1);
}
public static String getPathOfTopThirtyDays(String stream){
return getPathOfTop(stream, "top-30d");
Expand Down

0 comments on commit 263086a

Please sign in to comment.