Introduction
About
This page holds all the information about the Gennai API, an API about the Digimon franchise that uses GraphQL.
For each data type, it describes its schema, examples of how to query it and more specific details regarding each one.
New to GraphQL? More information can be found here.
All of the data gathered here was found on Wikimon and the Digimon Reference Book.
Endpoint
The endpoint used to fetch data from Gennai API is as follows:
Playground
Gennai API has its own playground. There you can test any queries about whatever you want. It can be found here.
Gennai Node
If you are using the Node.js enviroment, I recommend checking the Gennai Node.
It is an official, modular and light library made exclusively for fetching data from Gennai API. More information about Gennai Node can be found here.
Attribute
Schema
property | description | type |
---|---|---|
id | Identifier of the attribute | Integer |
name | Name of the attribute | String |
symbol | Symbol of the attribute | String |
description | Description of the attribute | String |
strong | List of attributes that this attribute is stronger against | List of Attribute |
weak | List of attributes that this attribute is weaker against | List of Attribute |
digimon | List of digimon that belongs to the rank | List of Digimon |
Get all attributes
query GetAllAttributes {
getAttributes {
id
name
symbol
description
}
}
Get specific attribute
# Using the attribute identifier
query GetOneAttributeById {
getAttributeById(id: 1) {
id
name
symbol
description
}
}
# Using the attribute name
query GetOneAttributeById {
getAttributeByName(name: "teste") {
id
name
symbol
description
}
}
Character
Schema
property | description | type |
---|---|---|
id | Identifier of the character | Integer |
name | Name of the character | String |
isDigiDestined | True if the character is a digiDestined, false if not | Boolean |
movies | List of movies that the character appears | List of Movie |
series | List of series that the character appears | List of Series |
episodes | List of episodes that the character appears | List of Episode |
crests | List of crests that the character has | List of Crest |
spirits | List of spirits that belongs to the character | List of Spirit |
digivices | List of digivices that belongs to the character | List of Digivice |
digimentals | List of digimentals that belongs to the character | List of Digimental |
partners | List of digimon partners that belongs to the character | List of Digimon |
universes | List of universes that the character appears | List of Universe |
otherNames | List of different names that the character have | List of CharacterName |
Get all characters
query GetAllCharacters {
getCharacters {
id
name
isDigiDestined
}
}
Get specific character
# Using the character identifier
query GetOneCharacterById {
getCharacterById(id: 1) {
id
name
isDigiDestined
}
}
# Using the character name
query GetOneCharacterById {
getCharacterByName(name: "teste") {
id
name
isDigiDestined
}
}
Crest
Schema
property | description | type |
---|---|---|
id | Identifier of the crest | Integer |
name | Name of the crest | String |
description | Description of the crest | String |
digiDestineds | List of characters that owns the crest | List of Character |
digimental | Digimental whom belongs | Digimental |
digimentalId | Identifier of the digimental whom belongs | Integer |
Get all crests
query GetAllCrests {
getCrests {
id
name
description
}
}
Get specific crest
# Using the crest identifier
query GetOneCrestById {
getCrestById(id: 1) {
id
name
description
}
}
# Using the crest name
query GetOneCrestById {
getCrestByName(name: "teste") {
id
name
description
}
}
Digimental
Schema
property | description | type |
---|---|---|
id | Identifier of the digimental | Integer |
name | Name of the digimental | String |
description | Description of the digimental | String |
attribute | Attribute of the digimental | String |
digiDestined | Character whom belongs | Character |
digiDestinedId | Identifier of the character whom belongs | Integer |
digimon | List of digimon that holds this digimental | List of Digimon |
crest | Crest created from this digimental | Crest |
Get all digimentals
query GetAllDigimentals {
getDigimentals {
id
name
description
attribute
}
}
Get specific digimental
# Using the digimental identifier
query GetOneDigimentalById {
getDigimentalById(id: 1) {
id
name
description
attribute
}
}
# Using the digimental name
query GetOneDigimentalById {
getDigimentalByName(name: "teste") {
id
name
description
attribute
}
}
Digimon
Schema
property | description | type |
---|---|---|
id | Id of the digimon | Integer |
slug | Slug of the digimon | String |
name | Name of the digimon | String |
isJogress | True if the digimon is a Jogress, false if not | Boolean |
hasXAntibody | True if the digimon has a X Antibody, false if not | Boolean |
rank | Rank of the digimon | Rank |
rankId | Id of the rank of the digimon | Integer |
attribute | Attribute of the digimon | Attribute |
attributeId | Id of the attribute of the digimon | Integer |
type | Type of the digimon | Type |
typeId | Id of the type of the digimon | Integer |
digimental | Digimental of the digimon | Digimental |
digimentalId | Id of the digimental of the digimon | Integer |
movies | List of movies that the digimon appears | List of Movie |
series | List of series that the digimon appears | List of Series |
episodes | List of episodes that the digimon appears | List of Episode |
fields | List of fields that the digimon belongs | List of Field |
spirits | List of spirits that the digimon contains | List of Spirit |
partners | List of partners that the digimon already had | List of Character |
previous | List of digimon that can envolve into the digimon | List of Digimon |
next | List of digimon that the digimon can envolve into | List of Digimon |
groups | List of groups that the digimon belongs to | List of DigimonGroup |
otherNames | List of different names that the digimon have | List of DigimonName |
Get all digimon
query GetAllDigimon {
getDigimon {
id
slug
name
isJogress
hasXAntibody
}
}
Get specific digimon
# Using the digimon identifier
query GetOneDigimonById {
getDigimonById(id: 1) {
id
slug
name
isJogress
hasXAntibody
}
}
# Using the digimon name
query GetOneDigimonById {
getDigimonByName(name: "teste") {
id
slug
name
isJogress
hasXAntibody
}
}
Digimon Group
Schema
property | description | type |
---|---|---|
id | Identifier of the digimon group | Integer |
name | Name of the digimon group | String |
description | Description of the digimon group | String |
digimon | List of digimon that belongs to the group | List of Digimon |
Get all digimon groups
query GetAllDigimonGroups {
getDigimonGroups {
id
name
description
}
}
Get specific digimon Group
# Using the digimonGroup identifier
query GetOneDigimonGroupById {
getDigimonGroupById(id: 1) {
id
name
description
}
}
Using the digimonGroup name
query GetOneDigimonGroupById {
getDigimonGroupByName(name: "teste") {
id
name
description
}
}
Digivice
Schema
property | description | type |
---|---|---|
id | Identifier of the digivice | Integer |
digiDestined | Character whom belongs | Character |
digiDestinedId | Identifier of the character whom belongs | Integer |
colors | List of colors of the digivice | List of String |
type | Type of the digivice | DigiviceType |
Get all digivices
query GetAllDigivices {
getDigivices {
id
colors
type
}
}
Get specific digivice
# Using the digivice identifier
query GetOneDigiviceById {
getDigiviceById(id: 1) {
id
colors
type
}
}
# Using the digivice identifier
query GetOneDigiviceById {
getDigiviceByName(name: "teste") {
id
colors
type
}
}
DigiviceType
CLASSIC | D_3 | D_ARK |
D_SCANNER | IC | BURST |
DARK | BIO_HYBRID |
# Get all digivices by type
query GetAllDigivicesByType {
getDigivicesByType(type: CLASSIC) {
id
colors
type
}
}
# Get all digivice types
query GetAllDigiviceTypes {
getDigiviceTypes
}
Episode
Schema
property | description | type |
---|---|---|
id | Identifier of the episode | Integer |
title | Title of the episode | String |
synopsis | Synopsis of the episode | String |
originalAirDate | Original air date of the episode | Date |
digimon | List of digimon that appears in the episode | List of Digimon |
characters | List of characters that appears in the episode | List of Character |
series | Series whom belongs | Series |
seriesId | Identifier of the series whom belongs | Integer |
Get all episodes
query GetAllEpisodes {
getEpisodes {
id
title
synopsis
originalAirDate
}
}
Get specific episode
# Using the episode identifier
query GetOneEpisodeById {
getEpisodeById(id: 1) {
id
title
synopsis
originalAirDate
}
}
# Using the episode title
query GetOneEpisodeById {
getEpisodeByTitle(title: "teste") {
id
title
synopsis
originalAirDate
}
}
Field
Schema
property | description | type |
---|---|---|
id | Identifier of the field | Integer |
name | Name of the field | String |
symbol | Symbol of the field | String |
description | Description of the field | String |
digimon | List of digimon that belongs to the field | List of Digimon |
Get all fields
query GetAllFields {
getFields {
id
name
symbol
description
}
}
Get specific field
# Using the field identifier
query GetOneFieldById {
getFieldById(id: 1) {
id
name
symbol
description
}
}
# Using the field name
query GetOneFieldById {
getFieldByName(name: "teste") {
id
name
symbol
description
}
}
Movie
Schema
property | description | type |
---|---|---|
id | Identifier of the movie | Integer |
title | Title of the movie | String |
synopsis | Synopsis of the movie | String |
originalAirDate | Original air date of the movie | Date |
digimon | List of digimon that appears in the movie | List of Digimon |
characters | List of characters that appears in the movie | List of Character |
universe | Universe whom belongs | Universe |
universeId | Identifier of the universe whom belongs | Integer |
Get all movies
query GetAllMovies {
getMovies {
id
title
synopsis
originalAirDate
}
}
Get specific movie
# Using the movie identifier
query GetOneMovieById {
getMovieById(id: 1) {
id
title
synopsis
originalAirDate
}
}
# Using the movie title
query GetOneMovieById {
getMovieByTitle(title: "teste") {
id
title
synopsis
originalAirDate
}
}
Rank
Schema
property | description | type |
---|---|---|
id | Identifier of the rank | Integer |
name | Name of the rank | String |
description | Description of the rank | String |
digimon | List of digimon that belongs to the rank | List of Digimon |
Get all ranks
query GetAllRanks {
getRanks {
id
name
description
}
}
Get specific rank
# Using the rank identifier
query GetOneRankById {
getRankById(id: 1) {
id
name
description
}
}
# Using the rank name
query GetOneRankById {
getRankByName(name: "teste") {
id
name
description
}
}
Series
Schema
property | description | type |
---|---|---|
id | Identifier of the series | Integer |
title | Title of the series | String |
synopsis | Synopsis of the series | String |
originalAirDate | Original air date of the series | Date |
episodes | List of episodes that belongs to the series | List of Episode |
digimon | List of digimon that appears in the series | List of Digimon |
characters | List of characters that appears in the series | List of Character |
universe | Universe whom belongs | Universe |
universeId | Identifier of the universe whom belongs | Integer |
Get all seriess
query GetAllSeries {
getSeries {
id
title
synopsis
originalAirDate
}
}
Get specific series
# Using the series identifier
query GetOneSeriesById {
getSeriesById(id: 1) {
id
title
synopsis
originalAirDate
}
}
# Using the series title
query GetOneSeriesById {
getSeriesByTitle(title: "teste") {
id
title
synopsis
originalAirDate
}
}
Spirit
Schema
property | description | type |
---|---|---|
id | Identifier of the spirit | Integer |
element | Element of the spirit | SpiritElement |
isHuman | True if the spirit is human, false if the spirit is beast | Boolean |
digiDestined | Character whom belongs | Character |
digiDestinedId | Identifier of the character whom belongs | Integer |
digimon | Digimon whom belongs | Digimon |
digimonId | Identifier of the digimon whom belongs | Integer |
Get all spirits
query GetAllSpirits {
getSpirits {
id
element
isHuman
}
}
Get specific spirit
# Using the spirit identifier
query GetOneSpiritById {
getSpiritById(id: 1) {
id
element
isHuman
}
}
# Using the spirit identifier
query GetOneSpiritById {
getSpiritById(id: 1) {
id
element
isHuman
}
}
SpiritElement
FLAME | LIGHT | ICE |
WIND | THUNDER | EARTH |
WOOD | WATER | STEEL |
DARKNESS |
# Get all spirits by element
query GetAllSpiritsByElement {
getSpiritsByElement(element: FLAME) {
id
element
isHuman
}
}
# Get all spirit elements
query GetAllSpiritElements {
getSpiritElements
}
Type
Schema
property | description | type |
---|---|---|
id | Identifier of the type | Integer |
name | Name of the type | String |
digimon | List of digimon that belongs to the type | List of Digimon |
Get all types
query GetAllTypes {
getTypes {
id
name
}
}
Get specific type
# Using the type identifier
query GetOneTypeById {
getTypeById(id: 1) {
id
name
}
}
# Using the type name
query GetOneTypeById {
getTypeByName(name: "teste") {
id
name
}
}
Universe
Schema
property | description | type |
---|---|---|
id | Identifier of the universe | Integer |
name | Name of the universe | String |
series | List of series that belongs to the universe | List of Series |
movies | List of movies that belongs to the universe | List of Movie |
characters | List of characters that appears in the universe | List of Character |
Get all universes
query GetAllUniverses {
getUniverses {
id
name
}
}
Get specific universe
# Using the universe identifier
query GetOneUniverseById {
getUniverseById(id: 1) {
id
name
}
}
# Using the universe name
query GetOneUniverseById {
getUniverseByName(name: "teste") {
id
name
}
}