Instead my.github.all should be used (still backward compatible) The reasons are a) I don't feel that grouping (i.e. my.coding.*) makes much sense b) using .all pattern (same way as twitter) allows for more composable and cleaner separation of GDPR and API data
22 lines
398 B
Python
22 lines
398 B
Python
"""
|
|
Unified Twitter data (merged from the archive and periodic updates)
|
|
"""
|
|
|
|
# NOTE: you can comment out the sources you don't need
|
|
from . import twint, archive
|
|
|
|
from .common import merge_tweets
|
|
|
|
|
|
def tweets():
|
|
yield from merge_tweets(
|
|
twint .tweets(),
|
|
archive.tweets(),
|
|
)
|
|
|
|
|
|
def likes():
|
|
yield from merge_tweets(
|
|
twint .likes(),
|
|
archive.likes(),
|
|
)
|