All URIs are relative to https://api.jikan.moe/v4
| Method | HTTP request | Description |
|---|---|---|
| get_character_anime | GET /characters/{id}/anime | |
| get_character_by_id | GET /characters/{id} | |
| get_character_full_by_id | GET /characters/{id}/full | |
| get_character_manga | GET /characters/{id}/manga | |
| get_character_pictures | GET /characters/{id}/pictures | |
| get_character_voice_actors | GET /characters/{id}/voices | |
| get_characters_search | GET /characters |
CharacterAnime get_character_anime(id)
import jikan_openapi
from jikan_openapi.models.character_anime import CharacterAnime
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_character_anime(id)
print("The response of CharactersApi->get_character_anime:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_character_anime: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns anime that character is in | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetCharacterById200Response get_character_by_id(id)
import jikan_openapi
from jikan_openapi.models.get_character_by_id200_response import GetCharacterById200Response
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_character_by_id(id)
print("The response of CharactersApi->get_character_by_id:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_character_by_id: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns character resource | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetCharacterFullById200Response get_character_full_by_id(id)
import jikan_openapi
from jikan_openapi.models.get_character_full_by_id200_response import GetCharacterFullById200Response
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_character_full_by_id(id)
print("The response of CharactersApi->get_character_full_by_id:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_character_full_by_id: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
GetCharacterFullById200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns complete character resource data | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CharacterManga get_character_manga(id)
import jikan_openapi
from jikan_openapi.models.character_manga import CharacterManga
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_character_manga(id)
print("The response of CharactersApi->get_character_manga:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_character_manga: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns manga that character is in | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CharacterPictures get_character_pictures(id)
import jikan_openapi
from jikan_openapi.models.character_pictures import CharacterPictures
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_character_pictures(id)
print("The response of CharactersApi->get_character_pictures:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_character_pictures: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns pictures related to the entry | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CharacterVoiceActors get_character_voice_actors(id)
import jikan_openapi
from jikan_openapi.models.character_voice_actors import CharacterVoiceActors
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_character_voice_actors(id)
print("The response of CharactersApi->get_character_voice_actors:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_character_voice_actors: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns the character's voice actors | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CharactersSearch get_characters_search(page=page, limit=limit, q=q, order_by=order_by, sort=sort, letter=letter)
import jikan_openapi
from jikan_openapi.models.characters_search import CharactersSearch
from jikan_openapi.models.characters_search_query_orderby import CharactersSearchQueryOrderby
from jikan_openapi.models.search_query_sort import SearchQuerySort
from jikan_openapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.jikan.moe/v4
# See configuration.py for a list of all supported configuration parameters.
configuration = jikan_openapi.Configuration(
host = "https://api.jikan.moe/v4"
)
# Enter a context with an instance of the API client
with jikan_openapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = jikan_openapi.CharactersApi(api_client)
page = 56 # int | (optional)
limit = 56 # int | (optional)
q = 'q_example' # str | (optional)
order_by = jikan_openapi.CharactersSearchQueryOrderby() # CharactersSearchQueryOrderby | (optional)
sort = jikan_openapi.SearchQuerySort() # SearchQuerySort | (optional)
letter = 'letter_example' # str | Return entries starting with the given letter (optional)
try:
api_response = api_instance.get_characters_search(page=page, limit=limit, q=q, order_by=order_by, sort=sort, letter=letter)
print("The response of CharactersApi->get_characters_search:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CharactersApi->get_characters_search: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | [optional] | |
| limit | int | [optional] | |
| q | str | [optional] | |
| order_by | CharactersSearchQueryOrderby | [optional] | |
| sort | SearchQuerySort | [optional] | |
| letter | str | Return entries starting with the given letter | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns search results for characters | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]