1.2.0 • Published 10 days ago

@chickyky/google-tools v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 days ago

google-tools

Table of contents

Introduce

Helps you get information from Google products, for example: news, finance, trending... and something else like Reddit, ...

Contact

Any bugs or comments plz contact me via email: Chickyky@gmail.com.

Now support

- Google News
- Google Finance
- Reddit

Install

$ npm install @chickyky/google-tools

Usage

javascript

const Tools = require('@chickyky/google-tools');
const tools = new Tools();

typescript

import Tools from '@chickyky/google-tools';
const tools = new Tools();

example

const Tools = require('@chickyky/google-tools');
const tools = new Tools();

;(async function main() {
	const result = await tools.finance.exchangeRate('USD', 'VND');
	console.log('exchange rate: ', result);
})();

API

Finance

interface IStock {
  id: string; // /g/1hbvtz66d
  name: string; // Vitreous Glass Inc
  currency: string; // CAD
  countryCode: string; // CA

  id2: string; // /g/11c6qrtxsf ???
  timezone: string; // America/Toronto
  timestamp: number; // in seconds: 1712094000
  quotePath: string; // VCI:CVE

  // stock information
  stockCode?: string; // VCI
  exchangesCode?: string; // CVE ???
  price?: number; // 5.3$
  increment?: number; // 0.14$
  percentChange?: number; // 2.71%
  labelColorHexCode?: string; // "#1a9280"
  lastPrice?: number;

  params?: any[];
}

interface IFinanceNews {
  id?: string;
  title: string;
  url?: string;
  image?: string;
  sourceName: string;
  publishedTimestamp?: number;
  publishedAt?: Date;

  // related stocks
  relatedStocks?: IStock[];
}

interface IExchangeRateNews extends IFinanceNews {
  publishedTimeHumanReadable?: string;
}

exchangeRate

exchangeRate(source: string, target: string)

// example
const result = await tools.finance.exchangeRate('USD', 'VND');

exchange rate between $source and $target, with $source and $target being currencyCode (eg: USD, EUR, VND, ...)

{
		source: 'USD',
		target: 'VND',
		lastPrice: 24990,
		currentPrice: 24990,
		lastNormalMarketTimestamp: 1712886120,
		tzOffset: 0,
		previousClose: 24990,
		news: [
			<IFinanceNews>
		]
	}

quoteNews

quoteNews({ source: string, target: string })

// example
const quoteNews = await tools.finance.quoteNews({ source: 'BTC', target: 'EUR' });

Get News related between source and target.

[
  {
    "id": "",
    "title": "Bitcoin breaks $70K, but here’s why bears might drag it down to $63K",
    "url": "https://eng.ambcrypto.com/bitcoin-breaks-70k-but-heres-why-bears-might-drag-it-down-to-63k/",
    "image": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS0WwCcY5--3ClZVQs26nQpRRC2gloUNmceWl8O81k26HCDNmUhRAsVjwatIFA",
    "sourceName": "AMBCrypto",
    "publishedTimestamp": 1712883921,
    "publishedAt": "2024-04-12T01:05:21.000Z",
    "relatedStocks": [
      {
        "id": "/g/11bvvzkcg7",
        "name": "Bitcoin (BTC / VND)",
        "currency": null,
        "countryCode": null,
        "id2": null,
        "timezone": null,
        "timestamp": 1712887560,
        "quotePath": "BTC-VND",
        "price": 1755720604,
        "lastPrice": 1749817293,
        "increment": 5903311,
        "percentChange": 0.3373672796363203,
        "labelColorHexCode": null,
        "params": [
          "BTC",
          "VND",
          "Bitcoin",
          "Vietnamese dong",
          "/m/05p0rrx",
          "/m/03ksl6",
          2
        ]
      }
    ]
  },
]

quoteExchangeRate

quoteExchangeRate({ source: string, target: string })

// example
await tools.finance.quoteExchangeRate({ source: 'USD', target: 'VND' });
{
  "object": {
    "id": "/g/11bvvzjkmq",
    "name": "USD / VND",
    "price": 25002.5
  },
  "exchangeRate": {
    "source": "USD",
    "target": "VND",
    "lastPrice": 24990,
    "currentPrice": 25002.5,
    "previousClose": 24990,
    "increment": 12.5,
    "percentChange": 0.050020008003201284,
    "timestamp": 1712904180,
    "lastNormalMarketTimestamp": 1712903940,
    "tzOffset": 0
  }
}

marketsMostActive

marketsMostActive()

// example
await tools.finance.marketsMostActive();

marketsNewsBaseOnMostActive

marketsNewsBaseOnMostActive()

// example
await tools.finance.marketsNewsBaseOnMostActive();

marketsGainers

marketsGainers()

// example
await tools.finance.marketsGainers();

marketsNewsBaseOnGainers

marketsNewsBaseOnGainers()

// example
await tools.finance.marketsNewsBaseOnGainers();

marketsLosers

marketsLosers()

// example
await tools.finance.marketsLosers();

marketsNewsBaseOnLosers

marketsNewsBaseOnLosers()

// example
await tools.finance.marketsNewsBaseOnLosers();

marketIndexes

marketIndexes()

// example
await tools.finance.marketIndexes();

marketsNewsBaseOnIndexes

marketsNewsBaseOnIndexes()

// example
await tools.finance.marketsNewsBaseOnIndexes();

marketsClimateLeaders

marketsClimateLeaders()

// example
await tools.finance.marketsClimateLeaders();

marketsCryptoCurrencies

marketsCryptoCurrencies()

// example
await tools.finance.marketsCryptoCurrencies();

marketsNewsBaseOnCryptoCurrencies

marketsNewsBaseOnCryptoCurrencies()

// example
await tools.finance.marketsNewsBaseOnCryptoCurrencies();

marketsCurrencies

marketsCurrencies()

// example
await tools.finance.marketsCurrencies();

marketsNewsBaseOnCurrencies

marketsNewsBaseOnCurrencies()

// example
await tools.finance.marketsNewsBaseOnCurrencies();

News

export interface INewsOption {
  language?: string;
  country?: string;
}

export interface IImage {
  src: string;
  width?: number;
  height?: number;
}

export interface ISource {
  name: string;
  url?: string;
  images?: IImage[];

  hash?: string; // CAAiEF9pVTo7tHQ-AT_ZBUo_100qFAgKIhBfaVU6O7R0PgE_2QVKP9dN
  route?: string; // publications/CAAiEF9pVTo7tHQ-AT_ZBUo_100qFAgKIhBfaVU6O7R0PgE_2QVKP9dN
  id?: string; // /m/01mw2x
}

export interface ILink {
  label: string;
  url: string;
}

export interface IArticle {
  title: string;
  url: string;
  urlAMP?: string;
  image: IImage;
  source: ISource;
  publishedTimestamp: number;
  publishedAt: Date;

  links?: ILink[];

  linkFullCoverage?: string;
  childrenCoverage?: IArticle[];
}

export interface IYourBriefing {
  topStories: IArticle[];
  localNews: IArticle[];
  pickForYou: IArticle[];
}

predefine Topic and Section of Topic

Topic and Section was exported static from class.

const Tools = require('@chickyky/google-tools');

const TOPIC = Tools.TOPIC;
const SECTION = Tools.SECTION;
{
  TOPIC: {
    WORLD: 'WORLD',
    VIET_NAM: 'VIET_NAM',
    US: 'US',
    LOCAL: 'LOCAL',
    BUSINESS: 'BUSINESS',
    TECHNOLOGY: 'TECHNOLOGY',
    ENTERTAINMENT: 'ENTERTAINMENT',
    SPORTS: 'SPORTS',
    SCIENCE: 'SCIENCE',
    HEALTH: 'HEALTH'
  },
  SECTION: {
    ECONOMY: 'ECONOMY',
    MARKETS: 'MARKETS',
    JOBS: 'JOBS',
    PERSONAL_FINANCE: 'PERSONAL_FINANCE',
    ENTREPRENEURSHIP: 'ENTREPRENEURSHIP',
    MOBILE: 'MOBILE',
    GADGETS: 'GADGETS',
    INTERNET: 'INTERNET',
    VIRTUAL_REALITY: 'VIRTUAL_REALITY',
    ARTIFICIAL_INTELLIGENCE: 'ARTIFICIAL_INTELLIGENCE',
    COMPUTING: 'COMPUTING',
    MOVIES: 'MOVIES',
    MUSIC: 'MUSIC',
    TV: 'TV',
    BOOKS: 'BOOKS',
    ARTS_AND_DESIGN: 'ARTS_AND_DESIGN',
    CELEBRITIES: 'CELEBRITIES',
    NFL: 'NFL',
    NBA: 'NBA',
    MLB: 'MLB',
    NHL: 'NHL',
    NCAA_FOOTBALL: 'NCAA_FOOTBALL',
    NCAA_BASKETBALL: 'NCAA_BASKETBALL',
    SOCCER: 'SOCCER',
    NASCAR: 'NASCAR',
    GOLF: 'GOLF',
    TENNIS: 'TENNIS',
    WNBA: 'WNBA',
    ENVIRONTMENT: 'ENVIRONTMENT',
    SPACE: 'SPACE',
    PHYSICS: 'PHYSICS',
    GENETICS: 'GENETICS',
    WILDLIFE: 'WILDLIFE',
    MEDICATION: 'MEDICATION',
    HEALTH_CARE: 'HEALTH_CARE',
    MENTAL_HEALTH: 'MENTAL_HEALTH',
    NUTRITION: 'NUTRITION',
    FITNESS: 'FITNESS'
  }
}

Base interface params request

interface INewsParams {
  language: string, // vi, en, ...
  country: string, // country code: VN, US, ...

  topic?: string,
  section?: string,
}

newsOfTopic

newsOfTopic(params: INewsParams)

// example
const params = {
  language: 'vi',
  country: 'VN',
  topic: Tools.TOPIC.SPORTS,
  section: Tools.SECTION.SOCCER,
}
const news = await tools.news.newsOfTopic(params);
[
  {
    "title": "HLV Hoàng Anh Tuấn chọn xong 11 cầu thủ đá chính của U23 Việt Nam?",
    "url": "https://dantri.com.vn/the-thao/hlv-hoang-anh-tuan-chon-xong-11-cau-thu-da-chinh-cua-u23-viet-nam-20240411135433647.htm",
    "urlAMP": null,
    "image": {
      "src": "https://news.google.com/attachments/CC8iK0NnNDBWazUzUWxVNVdrdDZjakJPVFJDakFSaTJBaWdCTWdhNUU0QlJGUWs"
    },
    "source": {
      "name": "Báo Dân Trí",
      "images": [
        {
          "src": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://dantri.com.vn&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
          "width": 180,
          "height": 180
        },
        {
          "src": "https://lh3.googleusercontent.com/t-m6iZe6NwZf2KAiZlhkSpmjGzsJpDYYxOKeiRHBgbJcf6ICd8GNtrxBU4hiT2ol6MWnZRyn-g",
          "width": 430,
          "height": 127
        },
        {
          "src": "https://lh3.googleusercontent.com/-4Qw7pRtrOubORB54LkWpXTdUyFrEvxQJ7qgH81AGormaZWQ66THgWMbCFIN1qN5xvvngvLacw",
          "width": 430,
          "height": 127
        }
      ],
      "route": "publications/CAAqBwgKMPbdlAsw66iqAw",
      "hash": "CAAqBwgKMPbdlAsw66iqAw",
      "url": "https://dantri.com.vn"
    },
    "publishedTimestamp": 1712876400,
    "publishedAt": "2024-04-11T23:00:00.000Z",
    "links": [
      {
        "label": "Chuyển tới Báo Dân Trí",
        "url": "https://news.google.com/publications/CAAqBwgKMPbdlAsw66iqAw"
      }
    ],
    "childrenCoverage": [
      {
        "title": "U23 Việt Nam: Từ giấc mơ World Cup đến TVH Olympic",
        "url": "https://vietnamnet.vn/u23-viet-nam-tu-giac-mo-world-cup-den-tvh-olympic-2269631.html",
        "urlAMP": null,
        "image": {
          "src": "https://news.google.com/attachments/CC8iI0NnNUZORzVPUmtOeFNGZHRTM1psVFJDM0FSaVRBaWdCTWdB"
        },
        "source": {
          "name": "VietNamNet",
          "images": [
            {
              "src": "https://encrypted-tbn0.gstatic.com/faviconV2?url=https://vietnamnet.vn&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
              "width": 180,
              "height": 180
            },
            {
              "src": "https://lh3.googleusercontent.com/Tf3U4UUyBHaf9yxEq8DG-1ob6fuOCQOJMpW4NbzJabnk8ukj-6a_n2yNsFiFpvqMedXYWmivEy8",
              "width": 3633,
              "height": 1351
            },
            {
              "src": "https://lh3.googleusercontent.com/bhPcN4gV2H__Ox9IsrtbJOsGQh-p3KuTD7OxGTGy5VLsoLx6R3BbluTcwcLr0i2bOP4rrZO4jcE",
              "width": 1650,
              "height": 656
            }
          ],
          "route": "publications/CAAqBwgKMNi4kgswo_-nAw",
          "hash": "CAAqBwgKMNi4kgswo_-nAw",
          "url": "https://vietnamnet.vn"
        },
        "publishedTimestamp": 1712873040,
        "publishedAt": "2024-04-11T22:04:00.000Z",
        "links": [
          {
            "label": "Chuyển tới VietNamNet",
            "url": "https://news.google.com/publications/CAAqBwgKMNi4kgswo_-nAw"
          }
        ],
        "linkFullCoverage": "https://news.google.com/stories/CAAqNggKIjBDQklTSGpvSmMzUnZjbmt0TXpZd1NoRUtEd2k4Mzd1bUN4SGQ0MGxDcTdOUzdpZ0FQAQ"
      },
      {
        "title": "Khuất Văn Khang và Nguyễn Thái Sơn bất ngờ lên trang chủ AFC, được khen hay bị chê?",
        "url": "https://thanhnien.vn/khuat-van-khang-va-nguyen-thai-son-bat-ngo-len-trang-chu-afc-duoc-khen-hay-bi-che-185240411202522559.htm",
        "urlAMP": "https://thanhnien.vn/khuat-van-khang-va-nguyen-thai-son-bat-ngo-len-trang-chu-afc-duoc-khen-hay-bi-che-185240411202522559.amp",
        "image": {
          "src": "https://news.google.com/attachments/CC8iL0NnNUhaVFJyUmpOMFdIcFROa3RuVFJDMkF4aThCU2dLTWdtaEE0Sk9qV3FMTXdF"
        },
        "source": {
          "name": "Báo Thanh Niên",
          "images": [
            {
              "src": "https://encrypted-tbn3.gstatic.com/faviconV2?url=https://thanhnien.vn&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
              "width": 180,
              "height": 180
            },
            {
              "src": "https://lh3.googleusercontent.com/1lUP5eLpU5Mo0hLUEhgegmjBU4IO1p-xmAB-IqtrjsGZx1Hyd6GfItHHwIBwCbdz0Ir-DEatWg",
              "width": 1280,
              "height": 324
            },
            {
              "src": "https://lh3.googleusercontent.com/2dKNmTs6f7IqwG9V-PB58GjbYAq-2RIz01_i4a905ChXKcKYWI8qMlRskfWD3K2iyU9Y7cZKeQ",
              "width": 1280,
              "height": 324
            }
          ],
          "route": "publications/CAAqBwgKMJLQmAswmNqwAw",
          "hash": "CAAqBwgKMJLQmAswmNqwAw",
          "url": "https://thanhnien.vn"
        },
        "publishedTimestamp": 1712846520,
        "publishedAt": "2024-04-11T14:42:00.000Z",
        "links": [
          {
            "label": "Chuyển tới Báo Thanh Niên",
            "url": "https://news.google.com/publications/CAAqBwgKMJLQmAswmNqwAw"
          }
        ],
        "linkFullCoverage": "https://news.google.com/stories/CAAqNggKIjBDQklTSGpvSmMzUnZjbmt0TXpZd1NoRUtEd2k4Mzd1bUN4SGQ0MGxDcTdOUzdpZ0FQAQ"
      },
      {
        "title": "U23 Việt Nam thua U23 Jordan 3-4 trong loạt sút luân lưu 11m",
        "url": "https://tuoitre.vn/u23-viet-nam-thua-u23-jordan-3-4-trong-loat-sut-luan-luu-11m-20240411055032683.htm",
        "urlAMP": null,
        "image": {
          "src": "https://news.google.com/attachments/CC8iL0NnNXZhMHRtUjFCZlpETTJRV05LVFJEZ0F4aUFCU2dLTWdrQk1KU1dJS21waGdJ"
        },
        "source": {
          "name": "Báo Tuổi Trẻ",
          "images": [
            {
              "src": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://tuoitre.vn&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
              "width": 180,
              "height": 180
            }
          ],
          "route": "publications/CAAqBwgKMKXAxAswyNvbAw",
          "hash": "CAAqBwgKMKXAxAswyNvbAw",
          "url": "https://tuoitre.vn"
        },
        "publishedTimestamp": 1712793000,
        "publishedAt": "2024-04-10T23:50:00.000Z",
        "links": [
          {
            "label": "Chuyển tới Báo Tuổi Trẻ",
            "url": "https://news.google.com/publications/CAAqBwgKMKXAxAswyNvbAw"
          }
        ],
        "linkFullCoverage": "https://news.google.com/stories/CAAqNggKIjBDQklTSGpvSmMzUnZjbmt0TXpZd1NoRUtEd2k4Mzd1bUN4SGQ0MGxDcTdOUzdpZ0FQAQ"
      }
    ]
  }
]

search

interface INewsSearchParams {
  keyword: string;
  language: string;
  country: string;
}

search(params: INewsSearchParams)

// example
const search = await tools.news.search({
  keyword: 'Bitcoin',
  language: 'vi',
  country: 'VN'
});
[
  {
    "id": "CBMidGh0dHBzOi8vdm5lY29ub215LnZuL2hvbmcta29uZy1zYXAtcGhlLWR1eWV0LWV0Zi1iaXRjb2luLWdpYW8tbmdheS1kYXUtdGllbi1iYXQtZGVuLXhhbmgtY2hvLWRhdS10dS10aWVuLWRpZW4tdHUuaHRt0gEA",
    "title": "Hong Kong sắp phê duyệt ETF Bitcoin giao ngay đầu tiên, \"bật đèn xanh\" cho đầu tư tiền điện tử - VnEconomy",
    "link": "https://news.google.com/rss/articles/CBMidGh0dHBzOi8vdm5lY29ub215LnZuL2hvbmcta29uZy1zYXAtcGhlLWR1eWV0LWV0Zi1iaXRjb2luLWdpYW8tbmdheS1kYXUtdGllbi1iYXQtZGVuLXhhbmgtY2hvLWRhdS10dS10aWVuLWRpZW4tdHUuaHRt0gEA?oc=5",
    "published": "2024-04-11T14:48:20.000Z",
    "description": "Hong Kong sắp phê duyệt ETF Bitcoin giao ngay đầu tiên, \"bật đèn xanh\" cho đầu tư tiền điện tử  VnEconomy",
    "source": {
      "name": "VnEconomy",
      "url": "https://vneconomy.vn"
    },
    "ggnLink": "https://news.google.com/rss/articles/CBMidGh0dHBzOi8vdm5lY29ub215LnZuL2hvbmcta29uZy1zYXAtcGhlLWR1eWV0LWV0Zi1iaXRjb2luLWdpYW8tbmdheS1kYXUtdGllbi1iYXQtZGVuLXhhbmgtY2hvLWRhdS10dS10aWVuLWRpZW4tdHUuaHRt0gEA?oc=5",
    "url": "https://vneconomy.vn/hong-kong-sap-phe-duyet-etf-bitcoin-giao-ngay-dau-tien-bat-den-xanh-cho-dau-tu-tien-dien-tu.htm"
  }
]

highlightFromSource

const highlightFromSource = await tools.news.highlightFromSource({
  language: 'vi',
  country: 'VN',
  hash: 'CAAiEF9pVTo7tHQ-AT_ZBUo_100qFAgKIhBfaVU6O7R0PgE_2QVKP9dN'
});
[
  {
    "title": "Bản tin 8H: Công bố quyết định của Ban Bí thư về nhân sự",
    "url": "https://tienphong.vn/ban-tin-8h-cong-bo-quyet-dinh-cua-ban-bi-thu-ve-nhan-su-post1628230.tpo",
    "urlAMP": "https://tienphong.vn/ban-tin-8h-cong-bo-quyet-dinh-cua-ban-bi-thu-ve-nhan-su-post1628230.amp",
    "image": {
      "src": "https://news.google.com/attachments/CC8iK0NnNWthbFkyWWpBeFVqbHpjVEozVFJDN0FoallCQ2dLTWdhVlFwZ3FKUWs"
    },
    "source": {
      "name": "Tiền Phong",
      "images": [
        {
          "src": "https://encrypted-tbn1.gstatic.com/faviconV2?url=https://tienphong.vn&client=NEWS_360&size=96&type=FAVICON&fallback_opts=TYPE,SIZE,URL",
          "width": 180,
          "height": 180
        },
        {
          "src": "https://lh3.googleusercontent.com/qvfoIUW3F87BaMqGB6Y0K2rImUZk10wgiKQh5u1UOTth08C4WC_qD15GQ4S5dVmgsyTLz6sjsQ",
          "width": 400,
          "height": 115
        },
        {
          "src": "https://lh3.googleusercontent.com/igRiQ61-BfmXfCQXekv-w-YmAAidBQDWccW59jhKrX4HucTYWhwLG29l8jgJCFj8iFspRlD7Gg",
          "width": 400,
          "height": 115
        }
      ],
      "hash": "",
      "url": "https://tienphong.vn"
    },
    "publishedTimestamp": 1712882397,
    "publishedAt": "2024-04-12T00:39:57.000Z",
    "links": []
  }
]

Reddit

interface

export interface IAuthor {
  id?: string;
  name: string;
  icon?: string;
  url?: string;
  avatar?: string;
}

export interface IRoom {
  name: string;
  icon?: string;
  url?: string;
  slug?: string;
}

export interface IPopularCommunity extends IRoom {
  members?: number;
}

export interface IRedditFeed {
  id: string;
  title: string;
  type: string;
  score?: number;
  commentCount?: number;
  permalink: string;
  content?: string;

  subredditId?: string;
  subredditPrefixedName?: string;

  author: IAuthor;

  contentHref?: string;
  domain?: string;
  createdAt?: string;
}

export interface IComment {
  author: IAuthor;
  commentId: string;
  depth: number;
  permalink: string;
  reloadUrl: string;
  score: number;
  feedId: string;
  contentType: string;

  content?: string;

  parentId?: string;

  replies?: IComment[];
}

getFeedsOfRoom

const roomSlug = 'pokemon'; // /r/pokemon
const feeds = await tools.reddit.getFeedsOfRoom(roomSlug);
[
  {
    "author": {
      "id": "t2_mixr4",
      "name": "PokeUpdateBot",
      "icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_0.png",
      "avatar": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_0.png"
    },
    "id": "t3_1byx8wg",
    "title": "[Weekly Questions Thread] 08 April 2024",
    "type": "text",
    "score": 10,
    "commentCount": 392,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1byx8wg/weekly_questions_thread_08_april_2024/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://www.reddit.com/r/pokemon/comments/1byx8wg/weekly_questions_thread_08_april_2024/",
    "domain": "self.pokemon",
    "createdAt": "2024-04-08T13:00:14.220000+0000"
  },
  {
    "author": {
      "id": "t2_uo3wk3pl9",
      "name": "ChupaphiAlpha00",
      "icon": "https://preview.redd.it/snoovatar/avatars/e7d503a9-e34d-4644-a199-20867de01ca8-headshot.png?width=64&height=64&crop=smart&auto=webp&s=c65a62602fbb9a25470d115e23f871ec9eb26a1d",
      "avatar": "https://preview.redd.it/snoovatar/avatars/e7d503a9-e34d-4644-a199-20867de01ca8-headshot.png?width=64&height=64&crop=smart&auto=webp&s=c65a62602fbb9a25470d115e23f871ec9eb26a1d"
    },
    "id": "t3_1c4peec",
    "title": "Oh God YES 🥲",
    "type": "image",
    "score": 2842,
    "commentCount": 42,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/oh_god_yes/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/1peumlijynuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T15:42:39.089000+0000"
  },
  {
    "author": {
      "id": "t2_5vw29be",
      "name": "Mx_Toniy_4869",
      "icon": "https://styles.redditmedia.com/t5_8essz/styles/profileIcon_snoo6758a4b3-c3fa-45bc-9fbd-6d1e7a57d97d-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=d2a226a107953d72430ce0c160840ff43f050cf0",
      "avatar": "https://styles.redditmedia.com/t5_8essz/styles/profileIcon_snoo6758a4b3-c3fa-45bc-9fbd-6d1e7a57d97d-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=d2a226a107953d72430ce0c160840ff43f050cf0"
    },
    "id": "t3_1c4hlhz",
    "title": "Obscure Pokémon Fact Day 376",
    "type": "image",
    "score": 2654,
    "commentCount": 59,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4hlhz/obscure_pokémon_fact_day_376/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/dpln7n6izluc1.png",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T09:04:45.389000+0000"
  },
  {
    "author": {
      "id": "t2_c1xptwlx",
      "name": "UnderstandingOk3784",
      "icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_5.png",
      "avatar": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_5.png"
    },
    "id": "t3_1c4jmqa",
    "title": "Just say, \"Yes\", and change the subject",
    "type": "image",
    "score": 1665,
    "commentCount": 75,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4jmqa/just_say_yes_and_change_the_subject/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/b5ggiga5nmuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T11:16:56.004000+0000"
  },
  {
    "author": {
      "id": "t2_o88axpesh",
      "name": "No_Consideration5155",
      "icon": "https://styles.redditmedia.com/t5_a1gyvl/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8xOTk0NDkwNw_rare_2ffbc5c9-8716-4587-b6e7-de3291b7dc4b-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=d1275077bf07737cda1f7f66cabda32911b12f0a",
      "avatar": "https://styles.redditmedia.com/t5_a1gyvl/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8xOTk0NDkwNw_rare_2ffbc5c9-8716-4587-b6e7-de3291b7dc4b-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=d1275077bf07737cda1f7f66cabda32911b12f0a"
    },
    "id": "t3_1c4jwd3",
    "title": "Unplayable but hilarious",
    "type": "gallery",
    "score": 1041,
    "commentCount": 45,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4jwd3/unplayable_but_hilarious/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://www.reddit.com/gallery/1c4jwd3",
    "domain": "reddit.com",
    "createdAt": "2024-04-15T11:32:08.049000+0000"
  },
  {
    "author": {
      "id": "t2_e4o6v5y3",
      "name": "Map-Art",
      "icon": "https://styles.redditmedia.com/t5_4y75ko/styles/profileIcon_9s8fzaqjgjj71.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=d41809dc146049aea351a43f2224db0f5863152c",
      "avatar": "https://styles.redditmedia.com/t5_4y75ko/styles/profileIcon_9s8fzaqjgjj71.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=d41809dc146049aea351a43f2224db0f5863152c"
    },
    "id": "t3_1c4pk27",
    "title": "3 Countries (and a department) that look like Pokémons",
    "type": "gallery",
    "score": 417,
    "commentCount": 14,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4pk27/3_countries_and_a_department_that_look_like/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://www.reddit.com/gallery/1c4pk27",
    "domain": "reddit.com",
    "createdAt": "2024-04-15T15:48:54.094000+0000"
  },
  {
    "author": {
      "id": "t2_dzhhwxt",
      "name": "DarkyLights",
      "icon": "https://styles.redditmedia.com/t5_6sx2e/styles/profileIcon_snoo2ae65259-e9a1-46b0-ab0e-7bbc5a562022-headshot-f.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=bd4fb7ff0963e80c9b0702f5df79bff5b70f0291",
      "avatar": "https://styles.redditmedia.com/t5_6sx2e/styles/profileIcon_snoo2ae65259-e9a1-46b0-ab0e-7bbc5a562022-headshot-f.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=bd4fb7ff0963e80c9b0702f5df79bff5b70f0291"
    },
    "id": "t3_1c4xvng",
    "title": "Beedriĺl with a flower crown [OC]",
    "type": "image",
    "score": 135,
    "commentCount": 3,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4xvng/beedriĺl_with_a_flower_crown_oc/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/052ogufdmpuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T21:17:49.750000+0000"
  },
  {
    "author": {
      "id": "t2_ccgj7wf9t",
      "name": "BigInHell",
      "icon": "https://styles.redditmedia.com/t5_8hsmzp/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8yNTMzMTI3_rare_815155e7-4bd2-4f02-989c-c98e55697f08-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=efc038b79f347ee373a6cbbd625224323913e300",
      "avatar": "https://styles.redditmedia.com/t5_8hsmzp/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZWI5NTlhNzE1ZGZmZmU2ZjgyZjQ2MDU1MzM5ODJjNDg1OWNiMTRmZV8yNTMzMTI3_rare_815155e7-4bd2-4f02-989c-c98e55697f08-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=efc038b79f347ee373a6cbbd625224323913e300"
    },
    "id": "t3_1c4n8dc",
    "title": "Want a bite? (oc)",
    "type": "image",
    "score": 364,
    "commentCount": 19,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4n8dc/want_a_bite_oc/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/zrykyx1ginuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T14:12:14.919000+0000"
  },
  {
    "author": {
      "id": "t2_sgl930y5",
      "name": "karlwork",
      "icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_5.png",
      "avatar": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_5.png"
    },
    "id": "t3_1c4rmtl",
    "title": "You don't get it, that Rattata is playing 4D chess",
    "type": "image",
    "score": 206,
    "commentCount": 11,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4rmtl/you_dont_get_it_that_rattata_is_playing_4d_chess/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/kyir38jgdouc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T17:12:54.289000+0000"
  },
  {
    "author": {
      "id": "t2_d6voxz8k",
      "name": "vxnyl2",
      "icon": "https://styles.redditmedia.com/t5_4tr03m/styles/profileIcon_wuk1fr8wm8dc1.jpeg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=9818adbd56cdc478edbaa0626056c10f2a091287",
      "avatar": "https://styles.redditmedia.com/t5_4tr03m/styles/profileIcon_wuk1fr8wm8dc1.jpeg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=9818adbd56cdc478edbaa0626056c10f2a091287"
    },
    "id": "t3_1c50yiq",
    "title": "Strawberry Spheal! ⭐️🍓",
    "type": "image",
    "score": 50,
    "commentCount": 7,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c50yiq/strawberry_spheal/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/p75at8l69quc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T23:25:40.810000+0000"
  },
  {
    "author": {
      "id": "t2_lmax8sxep",
      "name": "Just-Drawing-Mons",
      "icon": "https://styles.redditmedia.com/t5_9l54ue/styles/profileIcon_zim591u7iqtb1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=1f6d305153dd831455a24be5dcb7b48330243bab",
      "avatar": "https://styles.redditmedia.com/t5_9l54ue/styles/profileIcon_zim591u7iqtb1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=1f6d305153dd831455a24be5dcb7b48330243bab"
    },
    "id": "t3_1c4iqzl",
    "title": "[OC] Piglett (Diglett Convergent)",
    "type": "image",
    "score": 469,
    "commentCount": 9,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4iqzl/oc_piglett_diglett_convergent/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/aya9azzfdmuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T10:22:25.757000+0000"
  },
  {
    "author": {
      "id": "t2_o6bjk83kw",
      "name": "QueasyFalcon1423",
      "icon": "https://styles.redditmedia.com/t5_a15cz9/styles/profileIcon_447kdrsi8lsc1.jpeg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=5c23dcf6f97044d3a232dfb94ff5316dc15164a5",
      "avatar": "https://styles.redditmedia.com/t5_a15cz9/styles/profileIcon_447kdrsi8lsc1.jpeg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=5c23dcf6f97044d3a232dfb94ff5316dc15164a5"
    },
    "id": "t3_1c4tnyx",
    "title": "If Pokemon were real and our society grew to be accustomed to Pokemon, what issues will average Pokemon cause?",
    "type": "text",
    "score": 104,
    "commentCount": 136,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4tnyx/if_pokemon_were_real_and_our_society_grew_to_be/",
    "content": "Not the obvious ones like the crazy amount of fires, perhaps flooding, and ghost types but what are some issues certain Pokemon would create? There are Pokemon like Muk being a toxic goo which i doubt would be easy to keep as a pet, hell in one Pokedex entry it states that one drop of it’s body can contaminate a swimming pool, i can only imagine the terror for swimmers as they see a Muk sneak into the pool area. What about Magcargo? Despite what other people believe Magcargo isn’t gonna make everything in a 500 mile radius melt but it would be near fatal just to accidentally touch it, would society keep them contained in some area? Theres also flying Pokemon that could get in the way of planes, Metang (that popular metal floating Pokemon with claws and no legs) can fly using magnetism which would be catastrophic especially since it’s Pokedex entry in one game says that “its body is so tough, even a crash from a jet plane won’t leave a scratch” implying that it could have happened before.. There would also need to be checks to see if your essay wasn’t just written by an Alakazam or if it was a Ditto instead of you that showed up to school TLDR: what problems will Pokemon cause even in a world accustomed to them?",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://www.reddit.com/r/pokemon/comments/1c4tnyx/if_pokemon_were_real_and_our_society_grew_to_be/",
    "domain": "self.pokemon",
    "createdAt": "2024-04-15T18:32:30.828000+0000"
  },
  {
    "author": {
      "id": "t2_1f19mupn",
      "name": "DoubleE343",
      "icon": "https://styles.redditmedia.com/t5_jgq9g/styles/profileIcon_snoo03ce677e-7a37-4854-bb2b-11461f4f9885-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=3caa52db5c8e5df7b171aeace3744e4d89cbf614",
      "avatar": "https://styles.redditmedia.com/t5_jgq9g/styles/profileIcon_snoo03ce677e-7a37-4854-bb2b-11461f4f9885-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=3caa52db5c8e5df7b171aeace3744e4d89cbf614"
    },
    "id": "t3_1c4xfye",
    "title": "My workplace has been inundated with regi doodles",
    "type": "image",
    "score": 59,
    "commentCount": 2,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4xfye/my_workplace_has_been_inundated_with_regi_doodles/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/4na4tqk8jpuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T21:00:27.217000+0000"
  },
  {
    "author": {
      "id": "t2_roxcrvvd",
      "name": "nihalism28",
      "icon": "https://preview.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfYzhkM2EzYTgzYmRlNWRhZDA2ZDQzNjY5NGUzZTIyYWMzZTY0ZDU3N183NDcyMDY3_rare_49fe7593-2a16-4a0e-b7ec-17072e2e4719-headshot.png?width=64&height=64&crop=smart&auto=webp&s=b1ea54077f84cee2a42b195e6ec8b1e577c0c103",
      "avatar": "https://preview.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfYzhkM2EzYTgzYmRlNWRhZDA2ZDQzNjY5NGUzZTIyYWMzZTY0ZDU3N183NDcyMDY3_rare_49fe7593-2a16-4a0e-b7ec-17072e2e4719-headshot.png?width=64&height=64&crop=smart&auto=webp&s=b1ea54077f84cee2a42b195e6ec8b1e577c0c103"
    },
    "id": "t3_1c4jic5",
    "title": "[OC] Garchomp Armour ",
    "type": "image",
    "score": 306,
    "commentCount": 16,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4jic5/oc_garchomp_armour/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/dsebc62wlmuc1.png",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T11:09:48.884000+0000"
  },
  {
    "author": {
      "id": "t2_5vfzimvh",
      "name": "Pokemomaster",
      "icon": "https://styles.redditmedia.com/t5_2h6gmg/styles/profileIcon_8y2xoixc9yhb1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=504df630573a9af5c9563398739ef6fb62f59f1c",
      "avatar": "https://styles.redditmedia.com/t5_2h6gmg/styles/profileIcon_8y2xoixc9yhb1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=504df630573a9af5c9563398739ef6fb62f59f1c"
    },
    "id": "t3_1c4q1sk",
    "title": "If you know, you know",
    "type": "image",
    "score": 121,
    "commentCount": 4,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4q1sk/if_you_know_you_know/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/ru22jbm93ouc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T16:08:56.734000+0000"
  },
  {
    "author": {
      "id": "t2_4l6g1b1t",
      "name": "Rico-Lenz",
      "icon": "https://styles.redditmedia.com/t5_24ukvd/styles/profileIcon_fol2jt6w5u1b1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=cb5f39198d3e10e9b4e75691f40a40e047382cd2",
      "avatar": "https://styles.redditmedia.com/t5_24ukvd/styles/profileIcon_fol2jt6w5u1b1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=cb5f39198d3e10e9b4e75691f40a40e047382cd2"
    },
    "id": "t3_1c4ojfd",
    "title": "A wild _______ appeared?",
    "type": "video",
    "score": 136,
    "commentCount": 41,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4ojfd/a_wild_appeared/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://v.redd.it/9u0kf2b7snuc1",
    "domain": "v.redd.it",
    "createdAt": "2024-04-15T15:07:05.268000+0000"
  },
  {
    "author": {
      "id": "t2_i5ywl6xk",
      "name": "Spy_rook",
      "icon": "https://styles.redditmedia.com/t5_5lnggi/styles/profileIcon_k681g0tbyexa1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=aa691279ba6282a538438e689535442e735e4a3a",
      "avatar": "https://styles.redditmedia.com/t5_5lnggi/styles/profileIcon_k681g0tbyexa1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=aa691279ba6282a538438e689535442e735e4a3a"
    },
    "id": "t3_1c4q77f",
    "title": "All stand for the Audino national anthem",
    "type": "video",
    "score": 87,
    "commentCount": 5,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4q77f/all_stand_for_the_audino_national_anthem/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://v.redd.it/llhjq9154ouc1",
    "domain": "v.redd.it",
    "createdAt": "2024-04-15T16:15:03.136000+0000"
  },
  {
    "author": {
      "id": "t2_3qaime95",
      "name": "FluorescenceFuture",
      "icon": "https://styles.redditmedia.com/t5_110i3y/styles/profileIcon_w6jzppf5apob1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=3ac17ad4f6419a3d344264684488c03f7ba96301",
      "avatar": "https://styles.redditmedia.com/t5_110i3y/styles/profileIcon_w6jzppf5apob1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=3ac17ad4f6419a3d344264684488c03f7ba96301"
    },
    "id": "t3_1c4oj1q",
    "title": "[OC] Gijinka / humanizations of my Pokemon Moon team + lore",
    "type": "gallery",
    "score": 91,
    "commentCount": 9,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4oj1q/oc_gijinka_humanizations_of_my_pokemon_moon_team/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://www.reddit.com/gallery/1c4oj1q",
    "domain": "reddit.com",
    "createdAt": "2024-04-15T15:06:40.019000+0000"
  },
  {
    "author": {
      "id": "t2_d8ve9wu",
      "name": "Matratzfratz",
      "icon": "https://styles.redditmedia.com/t5_70ozx/styles/profileIcon_uaznlewz63ya1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=702756bc0eaa13fc0e823a4728eb564cfdaa7fb5",
      "avatar": "https://styles.redditmedia.com/t5_70ozx/styles/profileIcon_uaznlewz63ya1.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=702756bc0eaa13fc0e823a4728eb564cfdaa7fb5"
    },
    "id": "t3_1c4u4d9",
    "title": "Normal Distribution Grimer",
    "type": "image",
    "score": 40,
    "commentCount": 1,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4u4d9/normal_distribution_grimer/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/ltu8ib8stouc1.png",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T18:50:49.031000+0000"
  },
  {
    "author": {
      "id": "t2_dz0rpg1fk",
      "name": "PokeHexDex",
      "icon": "https://styles.redditmedia.com/t5_8v0kp2/styles/profileIcon_g0gu03odaseb1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=6e6bd82de59a22738ca1ef803164daf8a2f61b82",
      "avatar": "https://styles.redditmedia.com/t5_8v0kp2/styles/profileIcon_g0gu03odaseb1.jpg?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=6e6bd82de59a22738ca1ef803164daf8a2f61b82"
    },
    "id": "t3_1c52d74",
    "title": "Some of the newest Pokémon designs I have made this week - which one do you like the most?",
    "type": "image",
    "score": 13,
    "commentCount": 3,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c52d74/some_of_the_newest_pokémon_designs_i_have_made/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/p38rrtanjquc1.png",
    "domain": "i.redd.it",
    "createdAt": "2024-04-16T00:25:38.650000+0000"
  },
  {
    "author": {
      "id": "t2_a4a47lv6",
      "name": "Ok-Leave3121",
      "icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_2.png",
      "avatar": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_2.png"
    },
    "id": "t3_1c4xu7p",
    "title": "I know you can get the Hisuian Starters through Tera Raids but it would've been just as cool to get them in the DLC like in Kitakami or the Terarium",
    "type": "image",
    "score": 23,
    "commentCount": 2,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4xu7p/i_know_you_can_get_the_hisuian_starters_through/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/jvdrdcytlpuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T21:16:12.856000+0000"
  },
  {
    "author": {
      "id": "t2_59iiw9ah",
      "name": "endifi",
      "icon": "https://styles.redditmedia.com/t5_2dhn2k/styles/profileIcon_snoo7533d388-18e2-46cd-a3d2-83ad361f3221-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=9d0851a8859d0b80f3147bd66c79a1b85a354d2a",
      "avatar": "https://styles.redditmedia.com/t5_2dhn2k/styles/profileIcon_snoo7533d388-18e2-46cd-a3d2-83ad361f3221-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=9d0851a8859d0b80f3147bd66c79a1b85a354d2a"
    },
    "id": "t3_1c4w995",
    "title": "287 Slakoth - 289 Slaking (OC)",
    "type": "gallery",
    "score": 26,
    "commentCount": 2,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4w995/287_slakoth_289_slaking_oc/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://www.reddit.com/gallery/1c4w995",
    "domain": "reddit.com",
    "createdAt": "2024-04-15T20:13:30.654000+0000"
  },
  {
    "author": {
      "id": "t2_srence75",
      "name": "akapaan",
      "icon": "https://styles.redditmedia.com/t5_734cby/styles/profileIcon_snoo514888b7-d928-4bb9-806b-5a22c4d8c3ea-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=cb1ae744b291385c21266880e5fec160453d4539",
      "avatar": "https://styles.redditmedia.com/t5_734cby/styles/profileIcon_snoo514888b7-d928-4bb9-806b-5a22c4d8c3ea-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=cb1ae744b291385c21266880e5fec160453d4539"
    },
    "id": "t3_1c52tp3",
    "title": "Serena! art by me",
    "type": "image",
    "score": 12,
    "commentCount": 0,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c52tp3/serena_art_by_me/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/ajlelo1lnquc1.png",
    "domain": "i.redd.it",
    "createdAt": "2024-04-16T00:46:38.318000+0000"
  },
  {
    "author": {
      "id": "t2_gdpeh75w",
      "name": "desinhox",
      "icon": "https://styles.redditmedia.com/t5_5wxyy9/styles/profileIcon_vctrsomoc4r81.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=215fa5031956ef95131217949f0e8418e2016181",
      "avatar": "https://styles.redditmedia.com/t5_5wxyy9/styles/profileIcon_vctrsomoc4r81.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=215fa5031956ef95131217949f0e8418e2016181"
    },
    "id": "t3_1c4og9f",
    "title": "[OC] Pokémon Family - Miyu ✨",
    "type": "image",
    "score": 63,
    "commentCount": 1,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4og9f/oc_pokémon_family_miyu/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/xxu4awygrnuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T15:03:28.281000+0000"
  },
  {
    "author": {
      "id": "t2_90v99n3j",
      "name": "Shealove2054",
      "icon": "https://styles.redditmedia.com/t5_3gn7ri/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZjMzYWQ4NmJiNTRhMjc4YTZjOWY5YzA3NmY0ZWQ1YTM0YzUzMTk2N183OTI1OQ_rare_84ffa44e-9885-4048-aadf-fca671607e6e-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=5eba89d7fdf0ef518e6cca2373d22d0a21e80cc4",
      "avatar": "https://styles.redditmedia.com/t5_3gn7ri/styles/profileIcon_snoo-nftv2_bmZ0X2VpcDE1NToxMzdfZjMzYWQ4NmJiNTRhMjc4YTZjOWY5YzA3NmY0ZWQ1YTM0YzUzMTk2N183OTI1OQ_rare_84ffa44e-9885-4048-aadf-fca671607e6e-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=5eba89d7fdf0ef518e6cca2373d22d0a21e80cc4"
    },
    "id": "t3_1c4rzzu",
    "title": "gengar by me.",
    "type": "image",
    "score": 40,
    "commentCount": 4,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4rzzu/gengar_by_me/",
    "content": "",
    "subredditId": "t5_2qmeb",
    "subredditPrefixedName": "r/pokemon",
    "contentHref": "https://i.redd.it/0dmgvtibhouc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T17:27:42.718000+0000"
  }
]

getComments

const roomSlug = 'pokemon'; // /r/pokemon
const feedId = 't3_1c4peec';
const comments = await tools.reddit.getComments(roomSlug, feedId);
[
  {
    "author": {
      "name": "GunslinGerardo"
    },
    "commentId": "t1_kzp061o",
    "depth": 0,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzp061o/",
    "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzp061o?depth=0&subredditName=pokemon",
    "score": 88,
    "feedId": "1c4peec",
    "contentType": "text",
    "content": "Flaroma town theme hits the spot",
    "replies": [
      {
        "author": {
          "name": "MADBuc49"
        },
        "commentId": "t1_kzpqg3q",
        "depth": 1,
        "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzpqg3q/",
        "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzpqg3q?depth=1&subredditName=pokemon",
        "score": 37,
        "feedId": "1c4peec",
        "contentType": "text",
        "parentId": "t1_kzp061o",
        "content": "Sinnoh was my “lost region” and I played B/D/P for the first time in 2020-2021. When I first got to Floaroma Town, I immediately knew my favorite city/area in the Sinnoh region. My headcanon for my character is that is where they retired later on in life. Just peace and quiet all around - no trainers, no wild Pokémon, just serenity."
      },
      {
        "author": {
          "name": "Thedaniel4999"
        },
        "commentId": "t1_kzr26f7",
        "depth": 1,
        "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzr26f7/",
        "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzr26f7?depth=1&subredditName=pokemon",
        "score": 4,
        "feedId": "1c4peec",
        "contentType": "text",
        "parentId": "t1_kzp061o",
        "content": "The theme for Floaroma town at night remains my favorite calm theme. Takes me back to when I was a kid playing Pokemon diamond on my DS on a school night"
      },
      {
        "author": {
          "name": "ChupaphiAlpha00"
        },
        "commentId": "t1_kzp0e8x",
        "depth": 1,
        "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzp0e8x/",
        "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzp0e8x?depth=1&subredditName=pokemon",
        "score": 10,
        "feedId": "1c4peec",
        "contentType": "text",
        "parentId": "t1_kzp061o",
        "content": "wanted to use pallet town that hits the feels bro! 🤭"
      }
    ]
  },
  {
    "author": {
      "name": "Golden-Owl"
    },
    "commentId": "t1_kzp4zqf",
    "depth": 0,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzp4zqf/",
    "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzp4zqf?depth=0&subredditName=pokemon",
    "score": 133,
    "feedId": "1c4peec",
    "contentType": "image",
    "content": "It’s all fun and games until the piano at the game’s end",
    "replies": [
      {
        "author": {
          "name": "NotSoFlugratte"
        },
        "commentId": "t1_kzp686n",
        "depth": 1,
        "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzp686n/",
        "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzp686n?depth=1&subredditName=pokemon",
        "score": 32,
        "feedId": "1c4peec",
        "contentType": "text",
        "parentId": "t1_kzp4zqf",
        "content": "Every nerve in your body tenses up and you get a 1000 yard stare as Cynthia slowly disintegrates your team"
      }
    ]
  },
  {
    "author": {
      "name": "MSupreme97"
    },
    "commentId": "t1_kzp3pbg",
    "depth": 0,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzp3pbg/",
    "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzp3pbg?depth=0&subredditName=pokemon",
    "score": 24,
    "feedId": "1c4peec",
    "contentType": "text",
    "content": "Pokémon Pearl was my first game that I've played with my DS, I've really enjoyed and loved that game and I love it now too (But Platinum is the best way to play it). And, this picture really hit me <3",
    "replies": [
      {
        "author": {
          "name": "ChronicBedhead"
        },
        "commentId": "t1_kzpqkxv",
        "depth": 1,
        "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzpqkxv/",
        "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzpqkxv?depth=1&subredditName=pokemon",
        "score": 6,
        "feedId": "1c4peec",
        "contentType": "text",
        "parentId": "t1_kzp3pbg",
        "content": "Diamond was my first game. Definitely has a special place in my heart :)"
      }
    ]
  },
  {
    "author": {
      "name": "ThtJstHappn3d"
    },
    "commentId": "t1_kzpdffx",
    "depth": 0,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzpdffx/",
    "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzpdffx?depth=0&subredditName=pokemon",
    "score": 10,
    "feedId": "1c4peec",
    "contentType": "text",
    "content": "Gen 4 best gen",
    "replies": []
  },
  {
    "author": {
      "name": "Lukthar123"
    },
    "commentId": "t1_kzpnt44",
    "depth": 0,
    "permalink": "https://www.reddit.com/r/pokemon/comments/1c4peec/comment/kzpnt44/",
    "reloadUrl": "https://www.reddit.com/svc/shreddit/comment/t1_kzpnt44?depth=0&subredditName=pokemon",
    "score": 6,
    "feedId": "1c4peec",
    "contentType": "text",
    "content": "We'll never be those kids again",
    "replies": []
  }
]

popularHot

popular hot feed filter by geo.

List geo:

export const GEO_FILTER = [
	'global', // everywhere
	'us', // United States
	'ar', // Argentina
	'au', // Australia
	'bg', // Bulgaria
	'ca', // Canada
	'cl', // Chile
	'co', // Colombia
	'hr', // Croatia
	'cz', // Czech Republic
	'fi', // Finland
	'fr', // France
	'de', // Germany
	'gr', // Greece
	'hu', // Hungary
	'is', // Iceland
	'in', // India
	'ie', // Ireland
	'it', // Italy
	'jp', // Japan,
	'my', // Malaysia
	'mx', // Mexico
	'nz', // New Zealand
	'ph', // Philippines
	'pl', // Poland
	'pt', // Portugal
	'pr', // Puerto Rico
	'ro', // Romania
	'rs', // Serbia
	'sg', // Singapore
	'es', // Spain
	'se', // Sweden
	'tw', // Taiwan
	'th', // Thailand
	'tr', // Turkey
	'gb', // United Kingdom
]
// default is Everywhere (global)
const geo = 'us';
const popularHot = await tools.reddit.popularHot(geo);
[
  {
    "author": {
      "id": "t2_5adwlxvn",
      "name": "MarvelsGrantMan136",
      "icon": "https://styles.redditmedia.com/t5_2sl45c/styles/profileIcon_snooc7671614-7413-4199-9ec5-4186d0172fc4-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=ecba1ad971ca73a88d8de7e68fda095f967f4510",
      "avatar": "https://styles.redditmedia.com/t5_2sl45c/styles/profileIcon_snooc7671614-7413-4199-9ec5-4186d0172fc4-headshot.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=ecba1ad971ca73a88d8de7e68fda095f967f4510"
    },
    "id": "t3_1c50jfh",
    "title": "[Wojnarowski] ESPN Sources: USA Basketball is finalizing its 2024 Paris Olympics roster with Steph Curry, LeBron James, Kevin Durant, Jayson Tatum, Joel Embiid, Devin Booker, Tyrese Haliburton, Anthony Edwards, Jrue Holiday, Bam Adebayo and Anthony Davis. Team may initially keep one open spot.",
    "type": "link",
    "score": 2622,
    "commentCount": 1109,
    "permalink": "https://www.reddit.com/r/nba/comments/1c50jfh/wojnarowski_espn_sources_usa_basketball_is/",
    "content": "",
    "subredditId": "t5_2qo4s",
    "subredditPrefixedName": "r/nba",
    "contentHref": "https://twitter.com/wojespn/status/1780009778934394985",
    "domain": "twitter.com",
    "createdAt": "2024-04-15T23:06:45.647000+0000"
  },
  {
    "author": {
      "id": "t2_57xnw8n9",
      "name": "Thebiggestbot22",
      "icon": "https://preview.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfNDE2OWZmNGQzMTUwMmNiMWQwOWI4NTA0YTAwYThhNjMyZmIwODQ4Zl82MDMwOTAz_rare_0a6a3704-8a82-4a10-9b73-9557e67b6eab-headshot.png?width=64&height=64&crop=smart&auto=webp&s=feb1edc6dda052470e28a92b8f2bfa773590442b",
      "avatar": "https://preview.redd.it/snoovatar/avatars/nftv2_bmZ0X2VpcDE1NToxMzdfNDE2OWZmNGQzMTUwMmNiMWQwOWI4NTA0YTAwYThhNjMyZmIwODQ4Zl82MDMwOTAz_rare_0a6a3704-8a82-4a10-9b73-9557e67b6eab-headshot.png?width=64&height=64&crop=smart&auto=webp&s=feb1edc6dda052470e28a92b8f2bfa773590442b"
    },
    "id": "t3_1c4wfbl",
    "title": "My school thinks this fills up hungry high schoolers.",
    "type": "image",
    "score": 21658,
    "commentCount": 3781,
    "permalink": "https://www.reddit.com/r/mildlyinfuriating/comments/1c4wfbl/my_school_thinks_this_fills_up_hungry_high/",
    "content": "",
    "subredditId": "t5_2ubgg",
    "subredditPrefixedName": "r/mildlyinfuriating",
    "contentHref": "https://i.redd.it/4hukvrd2cpuc1.jpeg",
    "domain": "i.redd.it",
    "createdAt": "2024-04-15T20:20:06.490000+0000"
  },
  {
    "author": {
      "id": "t2_x3npr7k1s",
      "name": "trendkill3",
      "icon": "https://preview.redd.it/snoovatar/avatars/aafc33b0-96fa-4765-8527-f9a9a950dabc-headshot.png?width=64&height=64&crop=smart&auto=webp&s=30400ce5d6648a2d2b02095208eeee09f350f91f",
      "avatar": "https://preview.redd.it/snoovatar/avatars/aafc33b0-96fa-4765-8527-f9a9a950dabc-headshot.png?width=64&height=64&crop=smart&auto=webp&s=30400ce5d6648a2d2b02095208eeee09f350f91f"
    },
    "id": "t3_1c4vgwy",
    "title": "A gang of Robber crabs invade a family picnic in Australia.",
    "type": "gallery",
    "score": 46839,
    "commentCount": 4575,
    "permalink": "https://www.reddit.com/r/pics/comments/1c4vgwy/a_gang_of_robber_crabs_invade_a_family_picnic_in/",
    "content": "",
    "subredditId": "t5_2qh0u",
    "subredditPrefixedName": "r/pics",
    "contentHref": "https://www.reddit.com/gallery/1c4vgwy",
    "domain": "reddit.com",
    "createdAt": "2024-04-15T19:43:31.887000+0000"
  }
]
1.2.0

10 days ago

1.1.1

16 days ago

1.1.0

16 days ago

1.1.5

16 days ago

1.1.4

16 days ago

1.1.3

16 days ago

1.1.2

16 days ago

1.0.21

20 days ago

1.0.2

20 days ago

1.0.1

20 days ago

1.0.0

20 days ago