Skip to content

Empty response from dailyTrends() method - { allTrendingStories: [], summary: [] } #1

@ernbaltaci

Description

@ernbaltaci

I'm using @shaivpidadi/trends-js version 0.0.0-beta.4 to fetch daily trends from Google Trends. However, the API is returning empty arrays for both allTrendingStories and summary properties.

Steps to Reproduce:

  1. Install @shaivpidadi/trends-js version 0.0.0-beta.4
  2. Use the following code:
const result = await GoogleTrendsApi.dailyTrends({
  geo: 'US',
  lang: 'en',
});
  1. The result is always: { allTrendingStories: [], summary: [] }

Expected Behavior:
The API should return trending stories and summaries for the specified region and language.

Environment:

  • Package Version: 0.0.0-beta.4
  • Node.js Version: v21
  • Operating System: macOS

Additional Notes:

  • I've tried different geo locations (US, TR, etc.) but the result remains empty
  • No error messages are thrown, just empty arrays are returned

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions