Objects used by the Twitch API#
- class twitchAPI.object.api.TwitchUser#
Bases:
TwitchObject
-
id: Default:#
-
login: Default:#
-
display_name: Default:#
-
type: Default:#
-
broadcaster_type: Default:#
-
description: Default:#
-
profile_image_url: Default:#
-
offline_image_url: Default:#
-
view_count: Default:#
-
email: Default: = None#
-
created_at: Default:#
- __init__(**kwargs)#
- to_dict(include_none_values=False)#
build dict based on annotation types
- Parameters:
include_none_values¶ (
Default:) – if fields that have None values should be included in the dictionary- Return type:
Default:- class twitchAPI.object.api.TwitchUserFollow#
Bases:
TwitchObject
-
from_id: Default:#
-
from_login: Default:#
-
from_name: Default:#
-
to_id: Default:#
-
to_login: Default:#
-
to_name: Default:#
-
followed_at: Default:#
- __init__(**kwargs)#
- to_dict(include_none_values=False)#
build dict based on annotation types
- Parameters:
include_none_values¶ (
Default:) – if fields that have None values should be included in the dictionary- Return type:
Default:- class twitchAPI.object.api.TwitchUserFollowResult#
Bases:
AsyncIterTwitchObject
[TwitchUserFollow
]-
total: Default:#
-
data: Default:#
- __init__(_data, **kwargs)#
- static __new__(cls, *args, **kwds)#
- current_cursor()#
- Return type:
- Default:
Provides the currently used forward pagination cursor
- to_dict(include_none_values=False)#
build dict based on annotation types
- Parameters:
include_none_values¶ (
Default:) – if fields that have None values should be included in the dictionary- Return type:
Default:- class twitchAPI.object.api.DateRange#
Bases:
TwitchObject
-
ended_at: Default:#
-
started_at: Default:#
- __init__(**kwargs)#
- to_dict(include_none_values=False)#
build dict based on annotation types
- Parameters:
include_none_values¶ (
Default:) – if fields that have None values should be included in the dictionary- Return type:
Default:- class twitchAPI.object.api.ExtensionAnalytic#
Bases:
TwitchObject
-
extension_id: Default:#
-
URL: Default:#
-
type: Default:#
-
date_range: Default:#
- __init__(**kwargs)#
- to_dict(include_none_values=False)#
build dict based on annotation types
- Parameters:
include_none_values¶ (
Default:) – if fields that have None values should be included in the dictionary- Return type:
Default:- class twitchAPI.object.api.GameAnalytics#
Bases:
TwitchObject
-
game_id: Default:#
-
URL: Default:#
-
type: Default:#
-
date_range: Default:#
- __init__(**kwargs)#
- to_dict(include_none_values=False)#
build dict based on annotation types
- Parameters:
include_none_values¶ (
Default:) – if fields that have None values should be included in the dictionary- Return type:
Default:- class twitchAPI.object.api.CreatorGoal#
Bases:
TwitchObject
-
date_range:
-
type:
-
URL:
-
game_id:
-
date_range:
-
type:
-
URL:
-
extension_id:
-
started_at:
-
ended_at:
-
data:
-
total:
-
followed_at:
-
to_name:
-
to_login:
-
to_id:
-
from_name:
-
from_login:
-
from_id:
-
created_at:
-
email:
-
view_count:
-
offline_image_url:
-
profile_image_url:
-
description:
-
broadcaster_type:
-
type:
-
display_name:
-
login:
-
id: