Get an Image's Artist
This endpoint allows you to get an image's artist.
Endpoint Details
- URL:
/v3/images/{id}/artist
- Method:
GET
- Response:
JSON
Parameters
Location | Name | Type | Description | Required |
---|---|---|---|---|
Path | id | Integer | The image's ID. | Yes |
Example Request
image_artist.py
import requests
res = requests.get(f"https://api.nekosapi.com/v3/images/{image_id}/artist")
res.raise_for_status()
data = res.json()