HPI/my/twitter/all.py
Dima Gerasimov ca39187c63 github: DEPRECATE my.coding.github
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
2020-06-01 22:49:31 +01:00

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(),
)