Skip to main content

Python wrapper for the internal v2 SoundCloud API.Does not require an API key.

Project description

soundcloud.py

Tests Coverage Status Supported Python Versions Version License Monthly Downloads

Python wrapper for some of the internal v2 SoundCloud API (read/GET only methods). Does not require an API key.

NOTE: This is NOT the official SoundCloud developer API

SoundCloud is not accepting any more application registration requests ^1 so I made this library so developers can use SoundCloud's internal API for their projects.

Documentation

https://7x11x13.xyz/soundcloud.py

Installation

pip install soundcloud-v2

Example

from soundcloud import SoundCloud

sc = SoundCloud(auth_token="auth_token")
assert sc.is_client_id_valid()
assert sc.is_auth_token_valid()
me = sc.get_user_by_username("7x11x13")
assert me.permalink == "7x11x13"

Notes on auth_token

Some methods require authentication in the form of an OAuth2 access token. You can find your token in your browser cookies for SoundCloud under the name "oauth_token". A new token will be generated each time you log out and log back in.

Notes on **kwargs

All API methods have a **kwargs argument which you can use to pass extra, undocumented arguments to the SoundCloud v2 API in case I missed some parameter which you find useful. If this is the case, feel free to create an issue or pull request to document the missing argument.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soundcloud_v2-1.6.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

soundcloud_v2-1.6.2-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file soundcloud_v2-1.6.2.tar.gz.

File metadata

  • Download URL: soundcloud_v2-1.6.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for soundcloud_v2-1.6.2.tar.gz
Algorithm Hash digest
SHA256 26f740272370162fe8160c5d0e781161421b5ea5d4ee6c8d31db5fc87e6e63e8
MD5 a195b3bceabf1486310a501468ad2677
BLAKE2b-256 6f48d83aec09276ecc1e72c3df81f4ab7b97b0eb3ee8b3c106bd05d44ff3431f

See more details on using hashes here.

File details

Details for the file soundcloud_v2-1.6.2-py3-none-any.whl.

File metadata

  • Download URL: soundcloud_v2-1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for soundcloud_v2-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2f6928d7d2a4c439e64daae3cdb8b45d50bd41b12fa7a8b290c07dad04add18
MD5 527cb388482d6879aea3f1e927d337b9
BLAKE2b-256 284dbc74d8d4f20bd8d6110f2fde94b18bd7610d43d5bd39bebffd1a393f20df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page