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

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

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": { ... },
}
```