Ejemplo n.º 1
0
 def get_feeds_and_categories(cls):
     """Query and return all news feeds and categories at once."""
     raw = _query(_NEWS_FEEDS_AND_CATEGORIES)
     raw.update(Categories=Categories(raw), Feeds=Feeds(raw))
     return raw
Ejemplo n.º 2
0
 def get_feeds(cls):
     """Query and return all news feeds."""
     return Feeds(_query(_NEWS_FEEDS))