soundcloud-api-ts 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -41,7 +41,9 @@ A fully-typed TypeScript client for the SoundCloud API. Zero dependencies, nativ
41
41
  | LLM/AI-friendly | ✅ llms.txt + AGENTS.md | ❌ | ❌ |
42
42
  | Maintained | ✅ 2026 | ✅ 2025 | ✅ 2026 |
43
43
 
44
- > **Why does auth method matter?** `soundcloud.ts` and `soundcloud-fetch` require you to open browser dev tools, inspect network traffic, and manually copy your client ID which can break anytime SoundCloud changes their frontend. `soundcloud-api-ts` uses the **official OAuth 2.0 API** with registered app credentials, PKCE for public clients, and automatic token refresh.
44
+ > **Why does auth method matter?** `soundcloud.ts` and `soundcloud-fetch` use SoundCloud's undocumented internal `api-v2` and require you to scrape your client ID from browser dev tools. This can break anytime SoundCloud changes their frontend, and may violate the [API Terms of Use](https://developers.soundcloud.com/docs/api/terms-of-use) which state *"you must register your app"* and *"any attempt to circumvent this and obtain a new client ID and Security Code is strictly prohibited."*
45
+ >
46
+ > `soundcloud-api-ts` uses the **official documented API** (`api.soundcloud.com`) with registered app credentials, OAuth 2.1 as specified by SoundCloud, PKCE for public clients, and automatic token refresh.
45
47
 
46
48
  ## Install
47
49
 
@@ -401,6 +403,18 @@ const sc = new SoundCloudClient({
401
403
  - **401 errors** trigger `onTokenRefresh` (if configured) instead of retry
402
404
  - Backoff formula: `baseDelay × 2^attempt` with jitter
403
405
 
406
+ ## API Terms Compliance
407
+
408
+ This package is built on SoundCloud's **official documented API** (`api.soundcloud.com`) and follows the [API Terms of Use](https://developers.soundcloud.com/docs/api/terms-of-use):
409
+
410
+ - ✅ Uses registered app credentials (client ID + client secret) via OAuth 2.1
411
+ - ✅ No undocumented or internal API endpoints (`api-v2`)
412
+ - ✅ No client ID scraping or credential circumvention
413
+ - ✅ No content downloading, ripping, or stream capture
414
+ - ✅ No content aggregation into alternative streaming services
415
+
416
+ > **Important:** SoundCloud's API Terms prohibit using User Content (audio, tracks, metadata) to train or develop AI/ML models. The "LLM-friendly" features of this package (`llms.txt`, `AGENTS.md`) are for helping AI coding agents **use the package itself** — not for feeding SoundCloud content to AI systems. Please review the [full terms](https://developers.soundcloud.com/docs/api/terms-of-use) before building your application.
417
+
404
418
  ## AI / LLM Integration
405
419
 
406
420
  This package is designed to be easily used by AI coding agents:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soundcloud-api-ts",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "A TypeScript client for the SoundCloud API. Zero dependencies, native fetch, full OAuth 2.0 + PKCE support.",
5
5
  "bin": {
6
6
  "sc-cli": "./dist/cli.js",