Skip to content

Commit d5d94d3

Browse files
committed
Update urls.
1 parent f29bf39 commit d5d94d3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Add this dependency to your project's POM:
7676
## Usage
7777

7878
The library needs to be configured with your account's API key which is
79-
available in your [Listen API Dashboard](https://www.listennotes.com/api/dashboard/#apps). Set `apiKey` to its
79+
available in your [Listen API Dashboard](https://www.listennotes.com/podcast-api/dashboard/#apps). Set `apiKey` to its
8080
value:
8181

8282
```java
@@ -100,7 +100,7 @@ public class PodcastApiExample {
100100
objClient.setUserAgent("My Great Podcast App");
101101

102102
// All parameters can be found at
103-
// https://www.listennotes.com/api/docs/
103+
// https://www.listennotes.com/podcast-api/docs/
104104
HashMap<String, String> parameters = new HashMap<>();
105105
parameters.put("q", "startup");
106106
parameters.put("type", "podcast");

scripts/publish-root.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ publishing {
7979
pom {
8080
name = POM_NAME
8181
description = POM_DESCRIPTION
82-
url = 'https://www.listennotes.com/api/'
82+
url = 'https://www.listennotes.com/podcast-api/'
8383
licenses {
8484
license {
8585
name = POM_LICENCE_NAME

src/main/java/com/listennotes/podcast_api/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private void processStatus(int intStatus) throws ListenApiException {
290290
if (intStatus == 401) {
291291
throw new AuthenticationException("Wrong api key or your account is suspended");
292292
} else if (intStatus == 429) {
293-
throw new RateLimitException("For FREE plan, exceeding the quota limit; or for all plans, sending too many requests too fast and exceeding the rate limit - https://www.listennotes.com/api/faq/#faq17");
293+
throw new RateLimitException("For FREE plan, exceeding the quota limit; or for all plans, sending too many requests too fast and exceeding the rate limit - https://www.listennotes.com/podcast-api/faq/#faq17");
294294
} else if (intStatus == 404) {
295295
throw new NotFoundException("Endpoint not exist, or podcast / episode not exist");
296296
} else if (intStatus == 400) {

0 commit comments

Comments
 (0)