https://github.com/shiningjason/chords
Chord shape data library
https://github.com/shiningjason/chords
chord
Last synced: about 1 month ago
JSON representation
Chord shape data library
- Host: GitHub
- URL: https://github.com/shiningjason/chords
- Owner: shiningjason
- Created: 2017-11-11T01:12:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-10T08:13:25.000Z (about 6 years ago)
- Last Synced: 2025-03-28T12:38:57.360Z (2 months ago)
- Topics: chord
- Language: JavaScript
- Homepage:
- Size: 87.9 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Chords - chord shape data library
# Usage
## NodeJS
```sh
$ npm install --save chord-chart
``````js
const { name, shapes } = require('chord-chart/guitar/A.json')
```## REST API
Request
```sh
curl -X GET "https://get-chords.now.sh?names=G,C%23,B,A"# or
curl -X GET "https://get-chords.now.sh?names=G&names=C%23&names=B&names=A"
```Response
```json
{
"A": { ... },
"B": { ... },
"C#": { ... },
"G": { ... },
}
```