All URIs are relative to https://api.jikan.moe/v4
| Method | HTTP request | Description |
|---|---|---|
| get_user_about | GET /users/{username}/about | |
| get_user_animelist | GET /users/{username}/animelist | |
| get_user_by_id | GET /users/userbyid/{id} | |
| get_user_clubs | GET /users/{username}/clubs | |
| get_user_external | GET /users/{username}/external | |
| get_user_favorites | GET /users/{username}/favorites | |
| get_user_friends | GET /users/{username}/friends | |
| get_user_full_profile | GET /users/{username}/full | |
| get_user_history | GET /users/{username}/history | |
| get_user_manga_list | GET /users/{username}/mangalist | |
| get_user_profile | GET /users/{username} | |
| get_user_recommendations | GET /users/{username}/recommendations | |
| get_user_reviews | GET /users/{username}/reviews | |
| get_user_statistics | GET /users/{username}/statistics | |
| get_user_updates | GET /users/{username}/userupdates | |
| get_users_search | GET /users |
UserAbout get_user_about(username)
import jikan_openapi
from jikan_openapi.models.user_about import UserAbout
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_about(username)
print("The response of UsersApi->get_user_about:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_about: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user about in raw HTML | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object get_user_animelist(username, status=status)
User Anime lists have been discontinued since May 1st, 2022. Read more
import jikan_openapi
from jikan_openapi.models.user_anime_list_status_filter import UserAnimeListStatusFilter
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.UsersApi(api_client)
username = 'username_example' # str |
status = jikan_openapi.UserAnimeListStatusFilter() # UserAnimeListStatusFilter | (optional)
try:
api_response = api_instance.get_user_animelist(username, status=status)
print("The response of UsersApi->get_user_animelist:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_animelist: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| status | UserAnimeListStatusFilter | [optional] |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user anime list | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetUserById200Response get_user_by_id(id)
import jikan_openapi
from jikan_openapi.models.get_user_by_id200_response import GetUserById200Response
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.UsersApi(api_client)
id = 56 # int |
try:
api_response = api_instance.get_user_by_id(id)
print("The response of UsersApi->get_user_by_id:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_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 username by ID search | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserClubs get_user_clubs(username, page=page)
import jikan_openapi
from jikan_openapi.models.user_clubs import UserClubs
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.UsersApi(api_client)
username = 'username_example' # str |
page = 56 # int | (optional)
try:
api_response = api_instance.get_user_clubs(username, page=page)
print("The response of UsersApi->get_user_clubs:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_clubs: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| page | int | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user clubs | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ExternalLinks get_user_external(username)
import jikan_openapi
from jikan_openapi.models.external_links import ExternalLinks
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_external(username)
print("The response of UsersApi->get_user_external:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_external: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user's external links | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetUserFavorites200Response get_user_favorites(username)
import jikan_openapi
from jikan_openapi.models.get_user_favorites200_response import GetUserFavorites200Response
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_favorites(username)
print("The response of UsersApi->get_user_favorites:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_favorites: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user favorites | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserFriends get_user_friends(username, page=page)
import jikan_openapi
from jikan_openapi.models.user_friends import UserFriends
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.UsersApi(api_client)
username = 'username_example' # str |
page = 56 # int | (optional)
try:
api_response = api_instance.get_user_friends(username, page=page)
print("The response of UsersApi->get_user_friends:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_friends: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| page | int | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user friends | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetUserFullProfile200Response get_user_full_profile(username)
import jikan_openapi
from jikan_openapi.models.get_user_full_profile200_response import GetUserFullProfile200Response
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_full_profile(username)
print("The response of UsersApi->get_user_full_profile:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_full_profile: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns complete user 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]
UserHistory get_user_history(username, type=type)
import jikan_openapi
from jikan_openapi.models.user_history import UserHistory
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.UsersApi(api_client)
username = 'username_example' # str |
type = 'type_example' # str | (optional)
try:
api_response = api_instance.get_user_history(username, type=type)
print("The response of UsersApi->get_user_history:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_history: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| type | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user history (past 30 days) | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object get_user_manga_list(username, status=status)
User Manga lists have been discontinued since May 1st, 2022. Read more
import jikan_openapi
from jikan_openapi.models.user_manga_list_status_filter import UserMangaListStatusFilter
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.UsersApi(api_client)
username = 'username_example' # str |
status = jikan_openapi.UserMangaListStatusFilter() # UserMangaListStatusFilter | (optional)
try:
api_response = api_instance.get_user_manga_list(username, status=status)
print("The response of UsersApi->get_user_manga_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_manga_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| status | UserMangaListStatusFilter | [optional] |
object
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user manga list | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetRandomUsers200Response get_user_profile(username)
import jikan_openapi
from jikan_openapi.models.get_random_users200_response import GetRandomUsers200Response
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_profile(username)
print("The response of UsersApi->get_user_profile:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_profile: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user profile | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Recommendations get_user_recommendations(username, page=page)
import jikan_openapi
from jikan_openapi.models.recommendations import Recommendations
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.UsersApi(api_client)
username = 'username_example' # str |
page = 56 # int | (optional)
try:
api_response = api_instance.get_user_recommendations(username, page=page)
print("The response of UsersApi->get_user_recommendations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_recommendations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| page | int | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns Recent Anime Recommendations | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetTopReviews200Response get_user_reviews(username, page=page)
import jikan_openapi
from jikan_openapi.models.get_top_reviews200_response import GetTopReviews200Response
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.UsersApi(api_client)
username = 'username_example' # str |
page = 56 # int | (optional)
try:
api_response = api_instance.get_user_reviews(username, page=page)
print("The response of UsersApi->get_user_reviews:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_reviews: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str | ||
| page | int | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user reviews | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserStatistics get_user_statistics(username)
import jikan_openapi
from jikan_openapi.models.user_statistics import UserStatistics
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_statistics(username)
print("The response of UsersApi->get_user_statistics:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_statistics: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user statistics | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UserUpdates get_user_updates(username)
import jikan_openapi
from jikan_openapi.models.user_updates import UserUpdates
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.UsersApi(api_client)
username = 'username_example' # str |
try:
api_response = api_instance.get_user_updates(username)
print("The response of UsersApi->get_user_updates:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_user_updates: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| username | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns user updates | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UsersSearch get_users_search(page=page, limit=limit, q=q, gender=gender, location=location, max_age=max_age, min_age=min_age)
import jikan_openapi
from jikan_openapi.models.users_search import UsersSearch
from jikan_openapi.models.users_search_query_gender import UsersSearchQueryGender
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.UsersApi(api_client)
page = 56 # int | (optional)
limit = 56 # int | (optional)
q = 'q_example' # str | (optional)
gender = jikan_openapi.UsersSearchQueryGender() # UsersSearchQueryGender | (optional)
location = 'location_example' # str | (optional)
max_age = 56 # int | (optional)
min_age = 56 # int | (optional)
try:
api_response = api_instance.get_users_search(page=page, limit=limit, q=q, gender=gender, location=location, max_age=max_age, min_age=min_age)
print("The response of UsersApi->get_users_search:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UsersApi->get_users_search: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | [optional] | |
| limit | int | [optional] | |
| q | str | [optional] | |
| gender | UsersSearchQueryGender | [optional] | |
| location | str | [optional] | |
| max_age | int | [optional] | |
| min_age | int | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Returns search results for users | - |
| 400 | Error: Bad request. When required parameters were not supplied. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]