patreon-java
patreon-java copied to clipboard
Interact with the Patreon API via OAuth
Fix https://github.com/Patreon/patreon-java/issues/40 Based on @Fabricio20's https://github.com/Patreon/patreon-java/pull/34 and @decmurphy's [comment](https://github.com/Patreon/patreon-java/pull/34#issuecomment-583772558), fixes the URL concatenation for all versions and dependencies.
When attempting to use the PatreonAPI#fetchCampaigns, I am getting the following response: ``` Redirecting... Redirecting... You should be redirected automatically to target URL: http://www.patreon.com/oauth2/api/current_user/campaigns?include=rewards%2Ccreator%2Cgoals. If not click the link. ```...
Bumps httpclient from 4.2.3 to 4.5.13. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.httpcomponents:httpclient&package-manager=maven&previous-version=4.2.3&new-version=4.5.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps commons-io from 2.5 to 2.7. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=commons-io:commons-io&package-manager=maven&previous-version=2.5&new-version=2.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...
This PR fixes an Invalid URL issue that is currently happening on Patreon-Java. ``` java.io.FileNotFoundException: https://www.patreon.com/api/oauth2/api//campaigns/123123/pledges?page%5Bcount%5D=15 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1915) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:251) at com.patreon.resources.RequestUtil.request(RequestUtil.java:26) at com.patreon.PatreonAPI.getDataStream(PatreonAPI.java:201) at com.patreon.PatreonAPI.fetchPageOfPledges(PatreonAPI.java:156) at com.patreon.PatreonAPI.fetchPageOfPledges(PatreonAPI.java:129)...
Hello, @Patreon! Please merge my changes if you think these changes are correct. **1.** Optimize imports in PatreonAPITest and PatreonOAuthTest classes. ```java // from: import org.mockito.Matchers; import org.powermock.api.mockito.PowerMockito; import static...
Is it possible to get the currently entitled tier with the Java api? Seems easier than parsing the pledges list myself.
This has been reported before but it was closed, I did post on that one put it seems to have not been noticed so i am opening a new issue...