Get Sources
This endpoint returns all available sources.
curl --request GET \
--url https://nekosauce.com/api/sources
{
"data": [
{
"id": 123,
"module": "<string>",
"name": "<string>",
"urls": {
"website": "<string>",
"documentation": "<string>"
},
"enabled": true,
"components": {
"fetcher": "<string>",
"downloader": "<string>",
"tagger": "<string>"
},
"sauce_types": [
123
],
"update_frequency": "<string>"
}
]
}
Response
The source's ID
The internal import module. Not useful for API clients but it's there for internal use.
The human-readable name of the source.
Whether the source is enabled or not. If false
, the source won't be updated with new sauces.
The internal components, located at module
. They're generally useless for API clients.
The class name of the source's fetcher. Instances of this class are the ones that fetch new sauces and add them to the database. If it's null
, this source doesn't fetch sauces.
The class name of the source's downloader. Instances of this class are the ones that download the images from the source. If it's null
, this source doesn't download images.
The class name of the source's tagger. Instances of this class are the ones that convert sauce URLs into tags like danbooru:post:id:1
.
The sauce types this source can have.
The frequency with which new sauces are fetched from the source.
Was this page helpful?
curl --request GET \
--url https://nekosauce.com/api/sources
{
"data": [
{
"id": 123,
"module": "<string>",
"name": "<string>",
"urls": {
"website": "<string>",
"documentation": "<string>"
},
"enabled": true,
"components": {
"fetcher": "<string>",
"downloader": "<string>",
"tagger": "<string>"
},
"sauce_types": [
123
],
"update_frequency": "<string>"
}
]
}