Skip to content

fedecalendino/reddit-graph

Repository files navigation

reddit-graph

Version

Bot designed to build a graph representation of reddit, where every subreddit found is a node and every reference from one subreddit to another is a link.

SUBREDDITS

  • name (str): name of the subreddit.
    • between 2 and 21 characters (lowercase letters, digits and underscores).
  • type (str): type of the subreddit.
  • title (str): title of the subreddit
  • description (str): short description of the subreddit.
  • subscribers (int?): amount of subscribers at the moment.
  • nsfw (bool?): indicator if its flaged as not safe for work 🔞.
  • quarantined (bool?): indicator if it has been quarantined 😷.
  • color (str): key color of the subreddit.
  • img_banner (str?): url of the image used as the banner.
  • img_icon (str?): url of the image used as the icon (snoo).
  • created_at (datetime): utc timestamp of when the subreddit was created.
  • updated_at (datetime): utc timestamp of when the information of the subreddit was last updated.

note: the '?' indicates that the value can be null under certain conditions.

LINKS

  • source (str): name of the subreddit where the link was found.
  • target (str): name of the linked subreddit.
  • type (str): place where the reference from source to target was found.
  • updated_at (datetime): utc timestamp of when the information the link was last updated.