Merge branch 'develop'
This commit is contained in:
121
README.md
121
README.md
@@ -87,30 +87,107 @@ while chat.is_alive():
|
||||
|
||||
## Chatdata Structure of Default Processor
|
||||
Structure of each item which got from items() function.
|
||||
|name|type|remarks|
|
||||
|:----|:----|:----|
|
||||
|type|str|"superChat","textMessage","superSticker","newSponsor"|
|
||||
|id|str||
|
||||
|message|str|emojis are represented by ":(shortcut text):"|
|
||||
|datetime|str|YYYY-mm-dd HH:MM:SS format|
|
||||
|timestamp|int|unixtime milliseconds|
|
||||
|amountValue|float|ex. 1,234.0|
|
||||
|amountString|str|ex. "$ 1,234"|
|
||||
|currency|str|ex. "USD"|
|
||||
|author|object|see below|
|
||||
<table>
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>type</th>
|
||||
<th>remarks</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>type</td>
|
||||
<td>str</td>
|
||||
<td>"superChat","textMessage","superSticker","newSponsor"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>id</td>
|
||||
<td>str</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>message</td>
|
||||
<td>str</td>
|
||||
<td>emojis are represented by ":(shortcut text):"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>timestamp</td>
|
||||
<td>int</td>
|
||||
<td>unixtime milliseconds</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>amountValue</td>
|
||||
<td>float</td>
|
||||
<td>ex. 1,234.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>amountString</td>
|
||||
<td>str</td>
|
||||
<td>ex. "$ 1,234"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>currency</td>
|
||||
<td>str</td>
|
||||
<td>ex. "USD"</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>author</td>
|
||||
<td>object</td>
|
||||
<td>see below</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Structure of author object.
|
||||
|name|type|remarks|
|
||||
|:----|:----|:----|
|
||||
|name|str||
|
||||
|channelId|str|authorExternalChannelId|
|
||||
|channelUrl|str||
|
||||
|imageUrl|str||
|
||||
|badgeUrl|str||
|
||||
|isVerified|bool||
|
||||
|isChatOwner|bool||
|
||||
|isChatSponsor|bool||
|
||||
|isChatModerator|bool||
|
||||
<table>
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>type</th>
|
||||
<th>remarks</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>name</td>
|
||||
<td>str</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>channelId</td>
|
||||
<td>str</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>channelUrl</td>
|
||||
<td>str</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>imageUrl</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>badgeUrl</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>isVerified</td>
|
||||
<td>bool</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>isChatOwner</td>
|
||||
<td>bool</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>isChatSponsor</td>
|
||||
<td>bool</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>isChatModerator</td>
|
||||
<td>bool</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
## Licence
|
||||
|
||||
[](LICENSE)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
pytchat is a python library for fetching youtube live chat.
|
||||
"""
|
||||
__copyright__ = 'Copyright (C) 2019 taizan-hokuto'
|
||||
__version__ = '0.0.1.4'
|
||||
__version__ = '0.0.1.5'
|
||||
__license__ = 'MIT'
|
||||
__author__ = 'taizan-hokuto'
|
||||
__author_email__ = '55448286+taizan-hokuto@users.noreply.github.com'
|
||||
|
||||
Reference in New Issue
Block a user