GoogleTrendsApi 2.3.4
See the version list below for details.
dotnet add package GoogleTrendsApi --version 2.3.4
NuGet\Install-Package GoogleTrendsApi -Version 2.3.4
<PackageReference Include="GoogleTrendsApi" Version="2.3.4" />
paket add GoogleTrendsApi --version 2.3.4
#r "nuget: GoogleTrendsApi, 2.3.4"
// Install GoogleTrendsApi as a Cake Addin #addin nuget:?package=GoogleTrendsApi&version=2.3.4 // Install GoogleTrendsApi as a Cake Tool #tool nuget:?package=GoogleTrendsApi&version=2.3.4
Google trends API 2.3.4
This is a library for receiving data from trends into the .net environment, easily, and without dependencies!
Example
Get trends
You simply call the function like this:
Api.GetInterestOverTime(new[] { "react", "angular" });
And also possible with parameters:
Api.FetchData(new[] { "react", "angular" }, "US", DateOptions.LastThreeMonths, GroupOptions.youtube, 14);
Get trends by region
Get all trends, divided by regions:
Api.GetInterestByRegion(new string[] { "Vue" }, DateOptions.LastThreeMonths, "CITY");
You can set the resolution as one of the following options: "DMA", "CITY", "REGION", and "COUNTRY".
Trending searches
Get all trending searches:
Api.GetAllTrendingSearches();
Get trending searches by country (israel, in this example):
Api.GetTrendingSearches("israel");
Today searches
Get all Today searches, by country:
Api.GetTodaySearches("US");
Related queries
Get all Related queries. You can enter a query, filter by category, time, country, and group for search ('images', 'news', etc.). For example:
Api.GetRelatedQueries(new string[] { "angular" }, "US", DateOptions.LastThreeMonths, GroupOptions.youtube ,3);
Also, you can also not enter any query, and just search according to the other categories:
Api.GetRelatedQueries(new string[] { "" }, "US", DateOptions.LastThreeMonths);
Related topics
Get all related topics of query. You can enter a query, filter by parameters. For example:
Api.GetRelatedTopics(new string[] { "angular" }, "US", DateOptions.LastThreeMonths, GroupOptions.youtube ,14);
Categories list
For get list of all categories, use:
Api.GetCategories();
Suggestions list
For get list of all suggestions, use:
Api.GetSuggestions("angula");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.3.5 | 372 | 8/26/2023 |
2.3.4 | 137 | 8/8/2023 |
2.3.3 | 140 | 8/8/2023 |
2.3.2 | 210 | 4/24/2023 |
2.3.1.2 | 159 | 4/19/2023 |
2.3.1.1 | 175 | 4/19/2023 |
2.3.1 | 172 | 4/18/2023 |
2.3.0 | 216 | 4/14/2023 |
2.2.4 | 187 | 4/9/2023 |
2.2.3 | 206 | 3/28/2023 |
2.1.1 | 222 | 3/23/2023 |
2.1.0 | 280 | 2/8/2023 |
2.0.0 | 287 | 2/5/2023 |
1.1.0 | 264 | 2/5/2023 |
1.0.0 | 274 | 2/5/2023 |
Added support for .NET 6