soundcloud-v2-1.6.1
توضیحات
Python wrapper for the internal v2 SoundCloud API.Does not require an API key.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | soundcloud-v2-1.6.1 |
| نام | soundcloud-v2 |
| نسخه کتابخانه | 1.6.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | 7x11x13 |
| ایمیل نویسنده | x7x11x13@gmail.com |
| آدرس صفحه اصلی | https://github.com/7x11x13/soundcloud.py |
| آدرس اینترنتی | https://pypi.org/project/soundcloud-v2/ |
| مجوز | - |
# soundcloud.py
[](https://github.com/7x11x13/soundcloud.py/actions/workflows/ci.yml)
[](https://coveralls.io/github/7x11x13/soundcloud.py?branch=main)
[](https://pypi.org/project/soundcloud-v2/)
[](https://pypi.org/project/soundcloud-v2/)
[](https://pypi.org/project/soundcloud-v2/)
[](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/)
نیازمندی
| مقدار | نام |
|---|---|
| - | dacite>=1.8.1 |
| - | python-dateutil>=2.8.2 |
| - | requests |
| ython_versio | typing_extensions; |
| xtr | coveralls; |
| xtr | pytest; |
| xtr | pytest-dotenv; |
| xtr | types-python-dateutil; |
| xtr | types-requests; |
| xtr | mypy; |
| xtr | ruff; |
| xtr | pdoc; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl soundcloud-v2-1.6.1:
pip install soundcloud-v2-1.6.1.whl
نصب پکیج tar.gz soundcloud-v2-1.6.1:
pip install soundcloud-v2-1.6.1.tar.gz