Gụọ API enables users query data on genres, series, books and their authors through an intuitive API schema as defined by the OpenAPI Specification v3. It virtually simulate the structure of a library
type Author {
id: string
firstName: string
lastName: string
birthDay: Date // in the format yyyy-MM-dd
country: string
books: Book[]
}
An Author
represents an owner of a book. It represents the legal owner (s) of a piece of publication (Book
).
type Book {
id: string
title: string
volume: number
comment: string
authors: Author[]
series: Series[]
genres: Genre[]
}
A Book
represents a single witten work by an Author
or a group of Authors
.
type Genre {
id: number
name: string // unique
books: Book[]
}
A Genre
represents the category a Book
belongs to.
type Series {
id: number
name: string // unique
plannedVolumes: number
bookTourEvents: number
books: Book[]
}
A Series
defines a sequence of Books
in a particular order. It is genreally a set or sequence of related Books
.
You can check out the API documentation here guo-api.adophilus.xyz
- Uchenna Ofoma (@Adophilus)