Models Reference
Model class
Result class
- class twitcaspy.models.Result(api=None)
Bases:
twitcaspy.models.model.ModelAPI Result Object
Raw class
- class twitcaspy.models.Raw
Raw Object
The data will be returned as it is.This class does not instantiate.
User class
- class twitcaspy.models.User(api=None)
Bases:
twitcaspy.models.model.ModelUser Object
- screen_id
- The screen name of the user.(e.g.: @~~)Note: screen_id is subject to change by the user.
- Type
- supporter_count(deprecated)
- Number of user supporters.Returns a fixed value of 0.This parameter is deprecated.
- Type
- supporting_count(deprecated)
- Number supported user by the user.Returns a fixed value of 0.This parameter is deprecated.
- Type
- created(deprecated)
- Date and time when this account was created.Returns a fixed value of 0.This parameter is deprecated.
- Type
References
App class
- class twitcaspy.models.App(api=None)
Bases:
twitcaspy.models.model.ModelApplication Object
References
Live class
Movie class
- class twitcaspy.models.Movie(api=None)
Bases:
twitcaspy.models.model.ModelMovie Object
- created
- Converted created_time to
datetime.datetimetype- Type
- hls_url
- URL for HTTP Live Streaming playbackChanged the URL of the hls_url parameter from http to https (This sentence was translated by Google Translate.[ja->en])
- Type
strorNone
References
Gift class
- class twitcaspy.models.Gift(api=None)
Bases:
twitcaspy.models.model.ModelGift Object
- item_sub_image
- If there is an image selected when sending the item, the URL of the image.
- Type
strorNone
References
Supporter class
- class twitcaspy.models.Supporter(api=None)
Bases:
twitcaspy.models.user.UserSupporter Object
- screen_id
- The screen name of the user.(e.g.: @~~)Note: screen_id is subject to change by the user.
- Type
- supported
- Unix time stamp of supported datetimeAdded ‘unix time stamp <supported> of supported datetime’ to SupporterUser object of response (This sentence was translated by Google Translate.[ja->en])
- Type
- supported_time
- Converted supported to
datetime.datetimetype- Type
- supporter_count(deprecated)
- Number of user supporters.Returns a fixed value of 0.This parameter is deprecated.
- Type
- supporting_count(deprecated)
- Number supported user by the user.Returns a fixed value of 0.This parameter is deprecated.
- Type
- created(deprecated)
- Date and time when this account was created.Returns a fixed value of 0.This parameter is deprecated.
- Type
References
Category class
- class twitcaspy.models.Category(api=None)
Bases:
twitcaspy.models.model.ModelCategory Object
- sub_categories
- Type
listofSubCategory
References
SubCategory class
- class twitcaspy.models.SubCategory(api=None)
Bases:
twitcaspy.models.model.ModelSubCategory Object
References
WebHook class
- class twitcaspy.models.WebHook(api=None)
Bases:
twitcaspy.models.model.ModelWebHook Object
- event
- Event type to hookevent must be one of the following:‘livestart’ : Live start‘liveend’ : Live end
- Type
References
LateLimit class
- class twitcaspy.models.LateLimit
Late Limit Object
- reset_time
- Converted reset to
datetime.datetimetype- Type
References
ModelFactory class
- class twitcaspy.models.ModelFactory
- Used by parsers for creating instances of models.You may subclass this factory to add your own extended models.
- app
alias of
twitcaspy.models.app.App
- category
alias of
twitcaspy.models.category.Category
- comment
alias of
twitcaspy.models.comment.Comment
- gift
alias of
twitcaspy.models.gift.Gift
- live
alias of
twitcaspy.models.live.Live
- movie
alias of
twitcaspy.models.movie.Movie
- raw
alias of
twitcaspy.models.raw.Raw
- subcategory
- supporter
alias of
twitcaspy.models.supporter.Supporter
- user
alias of
twitcaspy.models.user.User
- webhook
alias of
twitcaspy.models.webhook.WebHook
Comment class
Bases:
twitcaspy.models.model.ModelComment Object
strstrUserdatetime.datetimetypedatetime.datetimeintReferences
https://apiv2-doc.twitcasting.tv/#comment-object