Metadata-Version: 2.1 Name: soundcloud-v2 Version: 1.6.0 Summary: Python wrapper for the internal v2 SoundCloud API.Does not require an API key. Home-page: https://github.com/7x11x13/soundcloud.py Author: 7x11x13 Author-email: x7x11x13@gmail.com Project-URL: Bug Tracker, https://github.com/7x11x13/soundcloud.py/issues Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.12 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Requires-Python: >=3.7 Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: dacite >=1.8.1 Requires-Dist: python-dateutil >=2.8.2 Requires-Dist: requests Requires-Dist: typing-extensions ; python_version < "3.8" Provides-Extra: dev Requires-Dist: coveralls ; extra == 'dev' Requires-Dist: pytest ; extra == 'dev' Requires-Dist: pytest-dotenv ; extra == 'dev' Requires-Dist: types-python-dateutil ; extra == 'dev' Requires-Dist: types-requests ; extra == 'dev' Requires-Dist: mypy ; extra == 'dev' Requires-Dist: ruff ; extra == 'dev' Provides-Extra: docs Requires-Dist: pdoc ; extra == 'docs' # soundcloud.py [![Tests](https://github.com/7x11x13/soundcloud.py/actions/workflows/ci.yml/badge.svg)](https://github.com/7x11x13/soundcloud.py/actions/workflows/ci.yml) [![Coverage Status](https://coveralls.io/repos/github/7x11x13/soundcloud.py/badge.svg?branch=main)](https://coveralls.io/github/7x11x13/soundcloud.py?branch=main) [![Supported Python Versions](https://img.shields.io/badge/python-3.7%2C%203.8%2C%203.9%2C%203.10%2C%203.11%2C%203.12-blue.svg)](https://pypi.org/project/soundcloud-v2/) [![Version](https://img.shields.io/pypi/v/soundcloud-v2.svg)](https://pypi.org/project/soundcloud-v2/) [![License](https://img.shields.io/pypi/l/soundcloud-v2.svg)](https://pypi.org/project/soundcloud-v2/) [![Monthly Downloads](https://pepy.tech/badge/soundcloud-v2/month)](https://pepy.tech/project/soundcloud-v2) 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](https://developers.soundcloud.com/docs/api/guide) 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. [^1]: https://docs.google.com/forms/d/e/1FAIpQLSfNxc82RJuzC0DnISat7n4H-G7IsPQIdaMpe202iiHZEoso9w/closedform ## Documentation https://7x11x13.xyz/soundcloud.py ## Installation ```bash pip install soundcloud-v2 ``` ## Example ```python 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](https://choosealicense.com/licenses/mit/)