Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ledif/bopper
Parse bop.fm urls for song information.
https://github.com/ledif/bopper
Last synced: 15 days ago
JSON representation
Parse bop.fm urls for song information.
- Host: GitHub
- URL: https://github.com/ledif/bopper
- Owner: ledif
- Created: 2014-07-19T06:12:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-19T23:28:44.000Z (about 10 years ago)
- Last Synced: 2024-03-17T23:50:51.192Z (10 months ago)
- Language: JavaScript
- Size: 1.45 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bopper
======Parse bop.fm urls for song information.
Requires
------- node.js
- express
- request, cheerio, morganTo install the correct npms:
```
npm install
```Run
------
```
node web.js
```
Usage
------
Issue a get request to the root of the server, with the uri query parameter as the bop.fm url._Example_:
```
http://localhost:5000/?uri=http://bop.fm/s/the-wonder-years/there-there
```
would return the following result```
{
"title": "There, There",
"artist": "The Wonder Years",
"image": "https://res.cloudinary.com/hyam10gog/image/fetch/c_fill/http://a2.mzstatic.com/us/r30/Music2/v4/10/e3/e0/10e3e0a2-9d12-8675-2404-8740155fbe6d/HR771_twy_greatest_cover.1200x1200-75.jpg"
}
```