soundcloud free client ID

This commit is contained in:
killer069
2021-10-18 17:11:48 +05:30
parent cdc1d7aeb5
commit 2a6a93701e
2 changed files with 31 additions and 0 deletions

View File

@@ -12,6 +12,20 @@ let data = await soundcloud(url) //Gets the data
console.log(data.type) // Console logs the type of data that you got.
```
### getFreeClientID()
_This returns free client ID._
```js
const client_id = await getFreeClientID()
setToken({
soundcloud : {
client_id : client_id
}
}) // This will set client ID for use in play-dl.
```
## Validate
### so_validate(url : `string`)