Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/crunchy-labs/crunchyroll-rs
/ functions
Functions
309 in github.com/crunchy-labs/crunchyroll-rs
⨍
Functions
309
◇
Types & classes
135
↓ 55 callers
Method
get
(self: &Arc<Self>, url: U)
src/crunchyroll.rs:293
↓ 49 callers
Method
get
(&self)
tests/utils/store.rs:24
↓ 33 callers
Method
into
(self)
src/search.rs:138
↓ 26 callers
Method
apply_locale_query
(self)
src/crunchyroll.rs:707
↓ 26 callers
Method
remove
Remove this entry from your watchlist.
src/list/watchlist.rs:44
↓ 21 callers
Method
request
( self: &Arc<Self>, mut req: RequestBuilder, )
src/crunchyroll.rs:313
↓ 20 callers
Method
header
(mut self, key: K, value: V)
src/crunchyroll.rs:730
↓ 15 callers
Method
query
Search the Crunchyroll catalog by a given query / string.
src/search.rs:357
↓ 15 callers
Function
request_media
( executor: Arc<Executor>, endpoint: String, )
src/media/util.rs:7
↓ 14 callers
Method
request_raw
(mut self, auth: bool)
src/crunchyroll.rs:760
↓ 13 callers
Method
json
(mut self, json: &T)
src/crunchyroll.rs:724
↓ 12 callers
Method
post
(self: &Arc<Self>, url: U)
src/crunchyroll.rs:297
↓ 10 callers
Method
media_from_id
(&self, id: impl AsRef<str> + Send)
src/media/mod.rs:49
↓ 9 callers
Function
parse_url
(url: S)
src/parse.rs:47
↓ 8 callers
Method
patch
(self: &Arc<Self>, url: U)
src/crunchyroll.rs:305
↓ 7 callers
Function
select_html_itemprop
( map_err_fn: F, elem: &'a ElementRef, itemprop: &str, attr: Option<&str>, )
src/release_calendar.rs:223
↓ 6 callers
Method
apply_preferred_audio_locale_query
(self)
src/crunchyroll.rs:712
↓ 6 callers
Method
login_with_credentials
Logs in with credentials (email and password) and returns a new [`Crunchyroll`] instance. Note*: All logins you do with the generated refresh token m
src/crunchyroll.rs:1023
↓ 6 callers
Method
post_login
( self, login_response: AuthResponse, session_token: SessionToken,
src/crunchyroll.rs:1187
↓ 6 callers
Method
pre_login
(&self)
src/crunchyroll.rs:1177
↓ 6 callers
Method
to_vec
(&self)
internal/src/util.rs:35
↓ 5 callers
Method
apply_ratings_query
(self)
src/crunchyroll.rs:720
↓ 5 callers
Function
has_session
()
tests/utils/session.rs:66
↓ 5 callers
Function
set_session
(crunchy: Crunchyroll)
tests/utils/session.rs:43
↓ 5 callers
Method
stream
Requests an actual [`Stream`] from this version. This method might throw a too many active streams error. In this case, make sure to have less/no acti
src/media/stream.rs:87
↓ 4 callers
Method
categories
Returns all video categories. Note that not all categories declared in [`Category`] are returned since some of them are sub-categories. Call [`Categor
src/categories.rs:134
↓ 4 callers
Function
segment_types
(segment: &PathSegment)
internal/src/lib.rs:153
↓ 4 callers
Method
span
(&self)
internal/src/util.rs:31
↓ 3 callers
Method
add
Add a new entry to the current crunchylist.
src/list/crunchylist.rs:127
↓ 3 callers
Method
auth_req
( self: &Arc<Self>, mut req: RequestBuilder, )
src/crunchyroll.rs:333
↓ 3 callers
Method
call
(&mut self, req: MiddlewareContext<'_>)
src/internal/middleware.rs:91
↓ 3 callers
Function
check_request
(resp: Response)
src/error.rs:280
↓ 3 callers
Method
delete
Delete this entry from the parent crunchylist.
src/list/crunchylist.rs:30
↓ 3 callers
Function
fix_empty_season_versions
(season: &mut Season)
src/media/anime/util.rs:50
↓ 3 callers
Method
invalidate
Invalidates all the stream data which may be obtained from [`Stream::stream_data`]. You will run into errors if you request multiple [`Stream::stream_
src/media/stream.rs:305
↓ 3 callers
Function
middleware_error_to_error
( err: Box<dyn StdError + Send + Sync + 'static>, url: String, )
src/internal/middleware.rs:96
↓ 3 callers
Method
query
(mut self, query: &T)
src/crunchyroll.rs:701
↓ 2 callers
Function
availability_object_to_keys
Extract the `availability` object from the provided map and expand its two values into `obj` as `availabilityStarts` and `availabilityEnds` to keep co
src/media/music/util.rs:9
↓ 2 callers
Function
clean_request
( mut map: serde_json::Map<String, serde_json::Value>, )
src/crunchyroll.rs:1281
↓ 2 callers
Method
client
Return the (cloned) [`Client`] which is internally used to make requests.
src/crunchyroll.rs:131
↓ 2 callers
Method
data
Get the subtitle as bytes.
src/media/stream.rs:339
↓ 2 callers
Method
deref_mut
(&mut self)
src/internal/middleware.rs:58
↓ 2 callers
Function
fix_empty_episode_versions
(episode: &mut Episode)
src/media/anime/util.rs:68
↓ 2 callers
Method
get_id
Get the media id of the series / movie listing which represents this entry.
src/list/watchlist.rs:50
↓ 2 callers
Function
is_request_error
( value: Value, url: U, status: &StatusCode, )
src/error.rs:199
↓ 2 callers
Method
login_with_etp_rt
Logs in with the `etp_rt` cookie that is generated when logging in with the browser and returns a new [`Crunchyroll`] instance. This cookie can be ext
src/crunchyroll.rs:1126
↓ 2 callers
Method
login_with_refresh_token
Logs in with a refresh token. This token is obtained when logging in with [`CrunchyrollBuilder::login_with_credentials`]. Note*: Even though the toke
src/crunchyroll.rs:1058
↓ 2 callers
Function
mark_favorite_watchlist
( executor: &Arc<Executor>, id: String, favorite: bool, )
src/list/watchlist.rs:211
↓ 2 callers
Method
parse
(data: &[u8])
src/media/stream.rs:973
↓ 2 callers
Function
real_dedup_vec
Remove all duplicates from a [`Vec`].
src/media/anime/util.rs:40
↓ 2 callers
Function
remove_from_watchlist
(executor: Arc<Executor>, id: String)
src/list/watchlist.rs:229
↓ 2 callers
Method
seasons
Returns all series seasons.
src/media/anime/series.rs:157
↓ 2 callers
Method
segments
Returns all segment this stream is made of.
src/media/stream.rs:759
↓ 2 callers
Method
stream_data
Requests all available video and audio streams. Returns [`None`] if the requested hardsub isn't available. You will run into an error when requesting
src/media/stream.rs:263
↓ 1 callers
Method
__set_executor
(&mut self, executor: Arc<Executor>)
src/feed.rs:158
↓ 1 callers
Method
__set_executor
(&mut self, executor: Arc<Executor>)
src/media/anime/movie.rs:128
↓ 1 callers
Method
account
Return information about the current account. [`Account`] can be used to modify account settings like the email or web interface language.
src/account.rs:70
↓ 1 callers
Method
account_id
(&self)
src/crunchyroll.rs:256
↓ 1 callers
Method
base_segments
(&self)
src/media/stream.rs:843
↓ 1 callers
Method
browse
Browses the crunchyroll catalog filtered by the specified options and returns all found series and movies.
src/search.rs:296
↓ 1 callers
Function
clean_request_array
(mut arr: Vec<serde_json::Value>)
src/crunchyroll.rs:1303
↓ 1 callers
Method
create
Create a new crunchylist. If a error is thrown which says that the maximum of private list is reached, check how many you currently have ([`Crunchylis
src/list/crunchylist.rs:77
↓ 1 callers
Method
crunchylist
Return the "real" [`Crunchylist`].
src/list/crunchylist.rs:209
↓ 1 callers
Method
crunchylists
Return your crunchylists.
src/list/crunchylist.rs:248
↓ 1 callers
Method
delete
Deletes the current profile.
src/profile.rs:149
↓ 1 callers
Function
derive_request_check
(set_path: TokenStream2, path: &Path)
internal/src/lib.rs:104
↓ 1 callers
Method
device_identifier
Return the device identifier for the current session.
src/crunchyroll.rs:153
↓ 1 callers
Method
get_mut
(&mut self)
tests/utils/store.rs:38
↓ 1 callers
Function
get_sso_login_credentials_via_webview
(client_id: &str)
examples/sso-login/src/main.rs:60
↓ 1 callers
Function
get_store
(key: String)
tests/utils/store.rs:53
↓ 1 callers
Method
has_next_page
Check if more pages are available.
src/common.rs:212
↓ 1 callers
Function
has_store
(key: String)
tests/utils/store.rs:64
↓ 1 callers
Method
home_feed
Returns the home feed (shown when visiting the Crunchyroll index page).
src/feed.rs:350
↓ 1 callers
Method
kind
(&self)
src/error.rs:124
↓ 1 callers
Method
login_anonymously
Login without an account. This is just like if you would visit crunchyroll.com without an account. Some functions won't work if logged in with this me
src/crunchyroll.rs:996
↓ 1 callers
Method
login_with_oauth_code
Log in with an OAuth authorization code and matching `code_verifier`, as returned by Crunchyroll's SSO endpoint. See the `sso-login` directory in the
src/crunchyroll.rs:1152
↓ 1 callers
Method
login_with_refresh_token_profile_id
Just like [`CrunchyrollBuilder::login_with_refresh_token`] but with the addition that the id of a [`crate::profile::Profile`] is given too. The result
src/crunchyroll.rs:1091
↓ 1 callers
Method
middleware
(mut self, service: S)
src/crunchyroll.rs:950
↓ 1 callers
Method
new_profile
Creates a new profile. It is not check if the maximum amount of profiles is already reached. Use [`Profiles::max_profiles`] and the length of [`Profil
src/profile.rs:178
↓ 1 callers
Function
oauth_url
(client_id: &str, challenge: &str, anonymous_id: &str)
examples/sso-login/src/main.rs:160
↓ 1 callers
Function
parse_locale_from_slug_title
(slug_title: S)
src/media/anime/util.rs:7
↓ 1 callers
Method
platform
Sets the platform for which a session should be issued for. The two arguments belong together: a basic auth token is only valid for the stream platfo
src/crunchyroll.rs:936
↓ 1 callers
Method
profiles
Requests all profiles the account has.
src/profile.rs:200
↓ 1 callers
Method
rating
Returns episode ratings.
src/media/anime/episode.rs:282
↓ 1 callers
Method
release_calendar
Get the release calendar for the week containing. The release calendar for the whole week is returned, regardless of the set time or date of `date`.
src/release_calendar.rs:62
↓ 1 callers
Function
request
Make a request from the provided builder.
src/crunchyroll.rs:1225
↓ 1 callers
Method
request_static
( self, )
src/crunchyroll.rs:746
↓ 1 callers
Method
session_token
Return the current session token. It can be used to log-in later with [`CrunchyrollBuilder::login_with_refresh_token`] or [`CrunchyrollBuilder::login_
src/crunchyroll.rs:148
↓ 1 callers
Function
set_store
(key: String, value: String)
tests/utils/store.rs:58
↓ 1 callers
Function
split_locale_from_slug_title
( slug_title: S, )
src/media/anime/util.rs:12
↓ 1 callers
Method
template_segments
(&self)
src/media/stream.rs:766
↓ 1 callers
Method
update_msg
(mut self, update_fn: fn(Option<String>) -> Option<String>)
src/error.rs:132
Method
__apply_experimental_stabilizations
(&mut self)
src/media/mod.rs:43
Method
__apply_experimental_stabilizations
(&mut self)
src/media/anime/episode.rs:315
Method
__apply_experimental_stabilizations
(&mut self)
src/media/anime/season.rs:197
Method
__apply_experimental_stabilizations
(&mut self)
src/media/anime/series.rs:203
Method
__apply_fixes
(&mut self)
src/media/mod.rs:37
Method
__apply_fixes
(&mut self)
src/media/anime/season.rs:189
Method
__set_executor
Set a usable [`Executor`] instance to the struct if required
src/common.rs:274
Method
__set_executor
(&mut self, executor: Arc<Executor>)
src/search.rs:196
next →
1–100 of 309, ranked by callers