Modular anime streaming and metadata API built with Hono on Cloudflare Workers.
This Python package is automatically generated for ShionStream API using OpenAPI specification.
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.26.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://gox.my.id
Python 3.10+
Packaging uses standard [project] metadata and [dependency-groups] (PEP 621/735).
Install the package with python -m pip install .; install development dependencies
with Poetry 2.2 or newer using poetry install, or pip 25.1 or newer using
python -m pip install --group dev. The latter installs the group, not the package.
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/shionstream/shionstream-python.git(you may need to run pip with root permission: sudo pip install git+https://github.com/shionstream/shionstream-python.git)
Then import the package:
import shionstream_sdkInstall via Setuptools.
python setup.py install --user(or sudo python setup.py install to install the package for all users)
Then import the package:
import shionstream_sdkExecute pytest to run the tests.
Please follow the installation procedure and then run the following:
import shionstream_sdk
from shionstream_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.gox.my.id
# See configuration.py for a list of all supported configuration parameters.
configuration = shionstream_sdk.Configuration(
host = "https://api.gox.my.id"
)
# Enter a context with an instance of the API client
with shionstream_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = shionstream_sdk.AnimeApi(api_client)
page = '1' # str | (optional) (default to '1')
limit = '20' # str | (optional) (default to '20')
search = 'search_example' # str | (optional)
type = 'type_example' # str | (optional)
status = 'status_example' # str | (optional)
genre = 'genre_example' # str | (optional)
season = 'season_example' # str | (optional)
year = 'year_example' # str | (optional)
sort = 'latest' # str | (optional) (default to 'latest')
try:
# List Anime Catalog
api_response = api_instance.v1_anime_get(page=page, limit=limit, search=search, type=type, status=status, genre=genre, season=season, year=year, sort=sort)
print("The response of AnimeApi->v1_anime_get:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AnimeApi->v1_anime_get: %s\n" % e)All URIs are relative to https://api.gox.my.id
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AnimeApi | v1_anime_get | GET /v1/anime | List Anime Catalog |
| AnimeApi | v1_anime_slug_get | GET /v1/anime/{slug} | Get Anime Details by Slug |
| CommentsApi | v1_comments_get | GET /v1/comments | Get Episode Comments |
| CommentsApi | v1_comments_id_like_post | POST /v1/comments/{id}/like | Like or Dislike Comment |
| CommentsApi | v1_comments_id_report_post | POST /v1/comments/{id}/report | Report Comment |
| CommentsApi | v1_comments_post | POST /v1/comments | Create Comment |
| DashboardApi | v1_dashboard_anime_get | GET /v1/dashboard/anime | Get Administrative Anime List |
| DashboardApi | v1_dashboard_categories_get | GET /v1/dashboard/categories | Get Category & Genre Distributions |
| DashboardApi | v1_dashboard_episodes_get | GET /v1/dashboard/episodes | Get Administrative Episodes List |
| DashboardApi | v1_dashboard_moderation_get | GET /v1/dashboard/moderation | Get Comment Moderation Reports |
| DashboardApi | v1_dashboard_moderation_id_patch | PATCH /v1/dashboard/moderation/{id} | Resolve or Dismiss Moderation Report |
| DashboardApi | v1_dashboard_overview_get | GET /v1/dashboard/overview | Get Dashboard Overview |
| DashboardApi | v1_dashboard_roles_get | GET /v1/dashboard/roles | Get System Roles & Permissions |
| DashboardApi | v1_dashboard_seasons_get | GET /v1/dashboard/seasons | Get Seasonal Broadcast Distributions |
| DashboardApi | v1_dashboard_stats_get | GET /v1/dashboard/stats | Get Platform Stats |
| DashboardApi | v1_dashboard_users_get | GET /v1/dashboard/users | Get Users Directory (Admin Only) |
| EpisodesApi | v1_anime_slug_episodes_get | GET /v1/anime/{slug}/episodes | List Episodes by Anime Slug |
| EpisodesApi | v1_episodes_id_stream_get | GET /v1/episodes/{id}/stream | Get Episode Stream Sources |
| SampleApi | v1_protected_sample_get | GET /v1/protected/sample | Protected Sample Endpoint |
| SystemApi | health_get | GET /health | Health Check |
| UploadApi | v1_upload_hls_post | POST /v1/upload/hls | Upload HLS Package to Cloudflare R2 |
| UploadApi | v1_upload_image_post | POST /v1/upload/image | Upload Image to Cloudflare R2 |
| UserApi | v1_user_history_delete | DELETE /v1/user/history | Clear All History |
| UserApi | v1_user_history_get | GET /v1/user/history | Get Watch History |
| UserApi | v1_user_history_id_delete | DELETE /v1/user/history/{id} | Delete History Item |
| UserApi | v1_user_history_post | POST /v1/user/history | Record Playback Progress |
| UserApi | v1_user_profile_get | GET /v1/user/profile | Get User Profile |
| UserApi | v1_user_settings_get | GET /v1/user/settings | Get User Settings |
| UserApi | v1_user_settings_patch | PATCH /v1/user/settings | Update User Settings |
| UserApi | v1_user_watchlist_anime_id_delete | DELETE /v1/user/watchlist/{animeId} | Remove from Watchlist |
| UserApi | v1_user_watchlist_anime_id_patch | PATCH /v1/user/watchlist/{animeId} | Update Watchlist Entry |
| UserApi | v1_user_watchlist_get | GET /v1/user/watchlist | Get User Watchlist |
| UserApi | v1_user_watchlist_post | POST /v1/user/watchlist | Add to Watchlist |
- HealthGet200Response
- HealthGet500Response
- V1AnimeGet200Response
- V1AnimeGet200ResponseDataInner
- V1AnimeGet200ResponsePagination
- V1AnimeSlugEpisodesGet200Response
- V1AnimeSlugEpisodesGet200ResponseAnime
- V1AnimeSlugEpisodesGet200ResponseDataInner
- V1AnimeSlugGet200Response
- V1AnimeSlugGet200ResponseData
- V1AnimeSlugGet200ResponseDataGenresInner
- V1AnimeSlugGet200ResponseDataSchedule
- V1AnimeSlugGet200ResponseDataTrendingStats
- V1CommentsGet200Response
- V1CommentsGet200ResponseDataInner
- V1CommentsIdLikePost200Response
- V1CommentsIdLikePostRequest
- V1CommentsIdReportPostRequest
- V1CommentsPost201Response
- V1CommentsPostRequest
- V1DashboardAnimeGet200Response
- V1DashboardCategoriesGet200Response
- V1DashboardCategoriesGet200ResponseCategoriesInner
- V1DashboardCategoriesGet200ResponseGenresInner
- V1DashboardEpisodesGet200Response
- V1DashboardModerationGet200Response
- V1DashboardModerationGet200ResponseReportsInner
- V1DashboardModerationGet200ResponseReportsInnerAuthor
- V1DashboardModerationGet200ResponseReportsInnerReporter
- V1DashboardModerationIdPatchRequest
- V1DashboardOverviewGet200Response
- V1DashboardOverviewGet200ResponseNotificationsInner
- V1DashboardOverviewGet200ResponseRecentActivitiesInner
- V1DashboardOverviewGet200ResponseTrafficDataInner
- V1DashboardRolesGet200Response
- V1DashboardRolesGet200ResponseRolesInner
- V1DashboardSeasonsGet200Response
- V1DashboardSeasonsGet200ResponseSeasonsInner
- V1DashboardStatsGet200Response
- V1DashboardStatsGet200ResponseStats
- V1DashboardUsersGet200Response
- V1DashboardUsersGet200ResponseUsersInner
- V1EpisodesIdStreamGet200Response
- V1EpisodesIdStreamGet200ResponseAudioInner
- V1EpisodesIdStreamGet200ResponseEpisode
- V1EpisodesIdStreamGet200ResponseSourcesInner
- V1EpisodesIdStreamGet200ResponseSubtitlesInner
- V1ProtectedSampleGet200Response
- V1ProtectedSampleGet200ResponseUser
- V1ProtectedSampleGet401Response
- V1UploadHlsPost200Response
- V1UploadHlsPost200ResponseData
- V1UploadImagePost200Response
- V1UploadImagePost200ResponseData
- V1UserHistoryGet200Response
- V1UserHistoryGet200ResponseDataInner
- V1UserHistoryPostRequest
- V1UserProfileGet200Response
- V1UserProfileGet200ResponseData
- V1UserProfileGet200ResponseDataActivity
- V1UserSettingsGet200Response
- V1UserSettingsGet200ResponseData
- V1UserSettingsGet200ResponseDataNotifications
- V1UserSettingsGet200ResponseDataPlayer
- V1UserSettingsPatch200Response
- V1UserSettingsPatchRequest
- V1UserSettingsPatchRequestNotifications
- V1UserSettingsPatchRequestPlayer
- V1UserSettingsPatchRequestProfile
- V1UserWatchlistAnimeIdPatchRequest
- V1UserWatchlistGet200Response
- V1UserWatchlistGet200ResponseDataInner
- V1UserWatchlistPostRequest
Authentication schemes defined for the API:
- Type: Bearer authentication (JWT / API-Key)