Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/faridrasidov/soundcld

Python API Handler For The Internal V2 SoundCloud API
https://github.com/faridrasidov/soundcld

python pythonlibrary requests-python soundcloud soundcloud-api

Last synced: 29 days ago
JSON representation

Python API Handler For The Internal V2 SoundCloud API

Awesome Lists containing this project

README

        


SoundCld



Python Api Handler For The Internal V2 SoundCloud API. Does Not Require An API Key.

faridrasidov - soundcld
soundcld - CI Tests

stars - soundcld
forks - soundcld

****
**Installation:**
```shell
# For Global
$ git clone https://github.com/faridrasidov/soundcld
$ cd soundcld
$ pip install .
```
```shell
# For Venv
$ git clone https://github.com/faridrasidov/soundcld
$ cd soundcld
$ path/to/your/venv/pip install .
```
**Example Of Usage:**
```python
from soundcld import SoundCloud

sc = SoundCloud(auth=False, auto_id_gen=False)
assert sc.is_client_id_valid()
search = sc.get_search_all("GRXGVR")
for item in search:
print(item.permalink, item.kind)
```

**Specifications:**

- **Last Valid Generated ID's Automatically Added To 'data.json' File To improve Api Speed.**
- **46 Get Api Requests Has Been Handled.(Some Of Them Require Auth)**
- **You Can Change Your Profile Info Too**
****
**Notes about `auth`:**

**Some methods require authentication. If you want to use them, you should get the values
written at the bottom from your cookies and put them in a package folder ("soundcloud")
named cookies.json. You will also need to change your "client_id" in data.json in that folder.**

**Save Them Into:**

**`package_root/soundcld/`**

**cookies.json:**
```json
{
"moe_uuid": "",
"oauth_token": "",
"sc_anonymous_id": ""
}
```

**data.json (this file automatically generates when you get instance):**
```json
{
"user_id": "",
"client_id": "",
"app_version": ""
}
```