pl-api
    Preparing search index...

    Function trendsCategory

    • Parameters

      Returns {
          getTrendingLinks: (
              params?: GetTrends,
          ) => Promise<
              {
                  author_name: string;
                  author_url: string;
                  blurhash: string
                  | null;
                  description: string;
                  embed_url: string;
                  height: number | null;
                  history: { accounts: number; day: number; uses: number }[] | null;
                  html: string;
                  id: string;
                  image: string | null;
                  image_description: string | null;
                  provider_name: string;
                  provider_url: string;
                  title: string;
                  type: "link" | "video" | "photo" | "rich";
                  url: string;
                  width: number | null;
              }[],
          >;
          getTrendingStatuses: (params?: GetTrendingStatuses) => Promise<Status[]>;
          getTrendingTags: (
              params?: GetTrends,
          ) => Promise<
              {
                  following?: boolean;
                  history: { accounts: number; day: number; uses: number }[]
                  | null;
                  name: string;
                  total: number | null;
                  url: string;
              }[],
          >;
      }

      • getTrendingLinks: (
            params?: GetTrends,
        ) => Promise<
            {
                author_name: string;
                author_url: string;
                blurhash: string
                | null;
                description: string;
                embed_url: string;
                height: number | null;
                history: { accounts: number; day: number; uses: number }[] | null;
                html: string;
                id: string;
                image: string | null;
                image_description: string | null;
                provider_name: string;
                provider_url: string;
                title: string;
                type: "link" | "video" | "photo" | "rich";
                url: string;
                width: number | null;
            }[],
        >

        View trending links Links that have been shared more than others.

      • getTrendingStatuses: (params?: GetTrendingStatuses) => Promise<Status[]>

        View trending statuses Statuses that have been interacted with more than others.

      • getTrendingTags: (
            params?: GetTrends,
        ) => Promise<
            {
                following?: boolean;
                history: { accounts: number; day: number; uses: number }[]
                | null;
                name: string;
                total: number | null;
                url: string;
            }[],
        >

        View trending tags Tags that are being used more frequently within the past week.