GETGet Novel By Id
https://novel.dataandapis.com/v1/novels/{id}
Parâmetros de caminho
| Parâmetro | Exemplo | |
|---|---|---|
| id | 3 | Obrigatório |
Exemplo de requisição
curl "https://novel.dataandapis.com/v1/novels/3" \
-H "X-Api-Key: YOUR_API_KEY"// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.novel.getNovelById({ id: 3 });# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.novel.get_novel_by_id(id=3){
"textDetailId": 3,
"name": "I Shall Seal the Heavens",
"slug": "i-shall-seal-the-heavens",
"description": "What I want, the Heavens shall not lack! What I don’t want, had better not exist in the Heavens!” This is a story which originates between the Eighth and Ninth Mountains, the world in which the strong prey upon the weak. “My Name is Meng Hao! The Ninth Generation Demon Sealer, I shall seal the Heavens!! “",
"status": "Completed",
"locale": "en_US",
"alternativeNames": null
}





