Get artist detail
GEThttps://api.reccobeats.com/v1/artist/:id
Get artist detail
Request
Path Parameters
id stringrequired
Artist ID.
Responses
- 200
- 400
- 404
Get successfully
- application/json
- Schema
- Example (auto)
Schema
idstring
Unique id for artist
namestring
Artist's name
hrefstring
Known spotify URLs for this artist.
{
"id": "string",
"name": "string",
"href": "string"
}
Bad request
Artist not found
- python
- curl
- csharp
- go
- nodejs
- ruby
- php
- java
- powershell
- dart
- javascript
- c
- objective-c
- ocaml
- r
- swift
- kotlin
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("api.reccobeats.com")
payload = ''
headers = {
'Accept': 'application/json'
}
conn.request("GET", "/v1/artist/:id", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))