Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olizilla/soundcloud-id
Guess a track id from a soundcloud url
https://github.com/olizilla/soundcloud-id
Last synced: 9 days ago
JSON representation
Guess a track id from a soundcloud url
- Host: GitHub
- URL: https://github.com/olizilla/soundcloud-id
- Owner: olizilla
- License: isc
- Created: 2015-06-17T21:42:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-17T21:47:14.000Z (over 9 years ago)
- Last Synced: 2024-05-09T12:31:06.463Z (8 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# soundcloud-id
Guess a soundcloud id from it's page url.
Useful for grabbing a streamable mp3 url for a given page:
```js
var scid = require('scid')
scid('/flyinglotus/flying-lotus-kingmidas-lost', function (err, id) {
console.log('http://media.soundcloud.com/stream/' + id + '.mp3')
})
```http://media.soundcloud.com/stream/kllR7tKcPnL3.mp3
----
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)