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:
- Install @shaivpidadi/trends-js version 0.0.0-beta.4
- Use the following code:
const result = await GoogleTrendsApi.dailyTrends({
geo: 'US',
lang: 'en',
});
- 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
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
allTrendingStoriesandsummaryproperties.Steps to Reproduce:
{ allTrendingStories: [], summary: [] }Expected Behavior:
The API should return trending stories and summaries for the specified region and language.
Environment:
Additional Notes: