### Get Google Keyword Ideas Live C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md This example demonstrates how to fetch live keyword ideas from Google. It requires the DataForSeoClient to be set up with authentication details. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.GoogleKeywordIdeasLiveAsync(new List() { new() { Keywords = new List() { "phone", "watch", }, LocationCode = 2840, LanguageCode = "en", IncludeSerpInfo = true, Limit = 3, } }); ``` -------------------------------- ### Get Apple Keywords For App Live C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md This example shows how to fetch keywords associated with a specific app ID. You can specify language, location, and a limit for the number of results. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.AppleKeywordsForAppLiveAsync(new List() { new() { AppId = "686449807", LanguageName = "English", LocationCode = 2840, Limit = 10, } }); ``` -------------------------------- ### Initialize DataForSeoClient and Call AvailableFiltersAsync Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md Provides an example of initializing the DataForSeoClient and calling AvailableFiltersAsync to get a list of available filters for the DataforseoLabs API. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.AvailableFiltersAsync(); ``` -------------------------------- ### Get Trustpilot Reviews Tasks Ready C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/BusinessDataApi.md Retrieves a list of ready Trustpilot reviews tasks. Requires authentication credentials. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.BusinessDataApi.TrustpilotReviewsTasksReadyAsync(); ``` -------------------------------- ### Get Google Keyword Suggestions Live C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md Use this snippet to retrieve live keyword suggestions from Google. Ensure you have the DataForSeoClient initialized with your credentials. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.GoogleKeywordSuggestionsLiveAsync(new List() { new() { Keyword = "phone", LocationCode = 2840, LanguageCode = "en", IncludeSerpInfo = true, IncludeSeedKeyword = true, Limit = 1, } }); ``` -------------------------------- ### Get Trustpilot Search Tasks Ready C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/BusinessDataApi.md Retrieves a list of ready Trustpilot search tasks. Requires authentication credentials. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.BusinessDataApi.TrustpilotSearchTasksReadyAsync(); ``` -------------------------------- ### Get Ready Google Maps Tasks C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Retrieves a list of Google Maps tasks that are ready for processing. Requires authentication. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleMapsTasksReadyAsync(); ``` -------------------------------- ### Get Amazon Bulk Search Volume Live Data (C#) Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md This example demonstrates how to fetch bulk search volume data for keywords on Amazon. Configure the DataForSeoClient with your credentials. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.AmazonBulkSearchVolumeLiveAsync(new List() { new() { Keywords = new List() { "buy laptop", "cheap laptops for sale", "purchase laptop", }, LocationCode = 2840, LanguageCode = "en", } }); ``` -------------------------------- ### Get Apple Bulk App Metrics Live C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md Use this snippet to retrieve bulk app metrics for multiple app IDs. Ensure you have the DataForSeoClient configured with your username and password. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.AppleBulkAppMetricsLiveAsync(new List() { new() { AppIds = new List() { "686449807", "382617920", }, LanguageName = "English", LocationCode = 2840, } }); ``` -------------------------------- ### Get Advanced Apple App List Task C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/AppDataApi.md Retrieve detailed information for a specific Apple app list task using its ID. Ensure the ID is in the correct GUID format. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var id = "00000000-0000-0000-0000-000000000000"; var result = await dfsClient.AppDataApi.AppleAppListTaskGetAdvancedAsync(id); ``` -------------------------------- ### Google Events Task Get Advanced Async C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md This example shows how to get advanced details for a specific Google Events task using its ID. Ensure you have a valid task ID. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var id = "00000000-0000-0000-0000-000000000000"; var result = await dfsClient.SerpApi.GoogleEventsTaskGetAdvancedAsync(id); ``` -------------------------------- ### Initialize DataForSeoClient and Get Google Local Finder Live HTML Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient and demonstrates how to asynchronously fetch live HTML results for a Google Local Finder search. This example specifies language, location, and keyword for the search query. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleLocalFinderLiveHtmlAsync(new List() { new() { LanguageCode = "en", LocationCode = 2840, Keyword = "albert einstein", } }); ``` -------------------------------- ### Initiate Google Products Task C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/MerchantApi.md Use this endpoint to start a task for collecting Google product data. Requires a list of MerchantGoogleProductsTaskPostRequestInfo objects with parameters like language, location, keyword, and price range. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.MerchantApi.GoogleProductsTaskPostAsync(new List() { new() { LanguageCode = "en", LocationCode = 2840, Keyword = "iphone", PriceMin = 5, } }); ``` -------------------------------- ### Install DataForSEO C# Client Package Source: https://github.com/dataforseo/csharpclient/blob/master/README.md Use this command to add the DataForSEO.Client package to your C# project via the .NET CLI. ```bash dotnet add package DataForSeo.Client ``` -------------------------------- ### Get Google Bulk Keyword Difficulty Live C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md Use this code to get the bulk keyword difficulty for a list of keywords on Google. The DataForSeoClient must be initialized with valid credentials. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.GoogleBulkKeywordDifficultyLiveAsync(new List() { new() { LocationCode = 2840, LanguageCode = "en", Keywords = new List() { "dentist new york", "pizza brooklyn", "car dealer los angeles", }, } }); ``` -------------------------------- ### Initialize DataForSeoClient and Call Google Finance Explore Live HTML Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient with credentials and calls the Google Finance Explore Live HTML endpoint. Use this to retrieve live HTML data for Google Finance explore. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleFinanceExploreLiveHtmlAsync(new List() { new() { LanguageCode = "en", LocationCode = 2840, } }); ``` -------------------------------- ### Initialize DataForSeoClient and Get Google Local Finder Live Advanced Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient and shows how to perform a live advanced Google Local Finder search asynchronously. This includes specifying search parameters like language, location, keyword, minimum rating, and time filter. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleLocalFinderLiveAdvancedAsync(new List() { new() { LanguageCode = "en", LocationCode = 2840, Keyword = "local nail services", MinRating = 4.5, TimeFilter = "monday", } }); ``` -------------------------------- ### Start On-Page Crawl and Get Summary Source: https://context7.com/dataforseo/csharpclient/llms.txt Initiates a website crawl and then retrieves an aggregated on-page SEO audit summary. The process involves starting the task, waiting for completion, and then fetching the summary results. ```csharp using DataForSeo.Client.Models.Requests; // 1. Start crawl var postResult = await dfsClient.OnPageApi.TaskPostAsync( new List { new() { Target = "https://example.com", MaxCrawlPages = 100, EnableContentParsing = true, LoadResources = true, CheckSpell = false, Tag = "audit-2024", } }); var crawlId = postResult.Tasks.First().Id; // 2. Wait for crawl to complete var sw = Stopwatch.StartNew(); while (sw.Elapsed < TimeSpan.FromMinutes(5)) { var ready = await dfsClient.OnPageApi.OnPageTasksReadyAsync(); if (ready.Tasks?.Any(t => t.Result?.Any(r => r.Id == crawlId) ?? false) ?? false) break; await Task.Delay(5_000); } // 3. Fetch summary var summary = await dfsClient.OnPageApi.SummaryAsync(crawlId); var s = summary.Tasks.First().Result.First(); Console.WriteLine($"Pages crawled: {s.CrawlProgress}"); Console.WriteLine($"Broken pages: {s.PageMetrics?.BrokenResources}"); Console.WriteLine($"Pages with duplicate content: {s.PageMetrics?.Duplicate?.Count}"); ``` -------------------------------- ### Lighthouse Versions API Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/OnPageApi.md Get the available Lighthouse versions. This endpoint requires basic authentication and does not accept any parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.OnPageApi.LighthouseVersionsAsync(); ``` -------------------------------- ### Initialize DataForSeoClient and Get Google Local Finder Task HTML Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient with provided credentials and demonstrates how to asynchronously retrieve HTML for a Google Local Finder task using a task ID. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var id = "00000000-0000-0000-0000-000000000000"; var result = await dfsClient.SerpApi.GoogleLocalFinderTaskGetHtmlAsync(id); ``` -------------------------------- ### Get Google Locations C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/AppDataApi.md Initializes the DataForSeo client and retrieves Google locations. This endpoint does not require any parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.AppDataApi.AppDataGoogleLocationsAsync(); ``` -------------------------------- ### Initialize DataForSeoClient and Post Google News Task Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient and shows how to asynchronously post a task for Google News search. This includes setting parameters such as language code, location code, and keyword. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleNewsTaskPostAsync(new List() { new() { LanguageCode = "en", LocationCode = 2840, Keyword = "albert einstein", } }); ``` -------------------------------- ### Get Google Categories C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/AppDataApi.md Initializes the DataForSeo client and fetches Google categories. This endpoint requires no parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.AppDataApi.GoogleCategoriesAsync(); ``` -------------------------------- ### Get Google Trends Languages C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md Retrieves a list of supported languages for Google Trends data. Authentication is required. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.KeywordsDataApi.GoogleTrendsLanguagesAsync(); ``` -------------------------------- ### Initialize and Use Google Finance Markets Live Advanced Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeo client with credentials and calls the Google Finance Markets Live Advanced API. Use this to retrieve advanced live market data for Google Finance. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleFinanceMarketsLiveAdvancedAsync(new List() { new() { LocationCode = 2840, LanguageName = "English", } }); ``` -------------------------------- ### Get Merchant Errors C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/MerchantApi.md Use this endpoint to retrieve information about merchant errors. Requires a list of MerchantErrorsRequestInfo objects. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.MerchantApi.MerchantErrorsAsync(new List() { new() { Limit = 10, Offset = 0, FilteredFunction = "pingback_url", } }); ``` -------------------------------- ### Get Bing Keywords Task by ID Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md Retrieve the results of a Bing keywords task using its unique ID. The ID is a GUID. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var id = "00000000-0000-0000-0000-000000000000"; var result = await dfsClient.KeywordsDataApi.BingKeywordsForKeywordsTaskGetAsync(id); ``` -------------------------------- ### Initialize DataForSeoClient and Call DataforseoLabsIdListAsync Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DataforseoLabsApi.md Demonstrates how to initialize the DataForSeoClient with credentials and call the DataforseoLabsIdListAsync method to retrieve a list of IDs with specified parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DataforseoLabsApi.DataforseoLabsIdListAsync(new List() { new() { Limit = 100, Offset = 0, Sort = "desc", IncludeMetadata = true, } }); ``` -------------------------------- ### Check Tasks Ready (C#) Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeo client and checks if any tasks are ready. Requires username and password for authentication. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.TasksReadyAsync(); ``` -------------------------------- ### Get Google Ads Status C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md This endpoint retrieves the status of Google Ads data. No parameters are required, only valid authentication. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.KeywordsDataApi.GoogleAdsStatusAsync(); ``` -------------------------------- ### Get Backlinks Bulk Ranks Live C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/BacklinksApi.md Initializes the DataForSeo client and fetches bulk ranks data for a list of target domains. This is useful for analyzing the ranking performance of multiple websites simultaneously. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.BacklinksApi.BulkRanksLiveAsync(new List() { new() { Targets = new List() { "forbes.com", "cnn.com", "bbc.com", "yelp.com", "https://www.apple.com/iphone/", "https://ahrefs.com/blog/", "ibm.com", "https://variety.com/", "https://stackoverflow.com/", "www.trustpilot.com", }, } }); ``` -------------------------------- ### Check Google Product Info Tasks Ready (C#) Source: https://github.com/dataforseo/csharpclient/blob/master/docs/MerchantApi.md Check the readiness status for Google Product Information tasks. Authentication is required. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.MerchantApi.GoogleProductInfoTasksReadyAsync(); ``` -------------------------------- ### Get Google Trends Categories C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md Retrieves a list of available categories for Google Trends data. Requires authentication with username and password. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.KeywordsDataApi.GoogleTrendsCategoriesAsync(); ``` -------------------------------- ### Initialize and Use Google Finance Markets Live Html Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeo client and calls the Google Finance Markets Live HTML API. This is suitable for obtaining live market data in HTML format from Google Finance. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleFinanceMarketsLiveHtmlAsync(new List() { new() { LanguageCode = "en", LocationCode = 2840, } }); ``` -------------------------------- ### Aggregate Technologies Live Data - C# Source: https://github.com/dataforseo/csharpclient/blob/master/docs/DomainAnalyticsApi.md Initializes the DataForSeo client and makes a live aggregation request for technology data. This example demonstrates setting filters, ordering, and limits for the query. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.DomainAnalyticsApi.TechnologiesAggregationTechnologiesLiveAsync(new List() { new() { Mode = "entry", Technology = "Nginx", Keyword = "WordPress", Filters = new List() { new List() { "country_iso_code", "=", "US", }, "and", new List() { "domain_rank", ">", 800, }, }, OrderBy = new List() { "groups_count,desc", }, Limit = 10, } }); ``` -------------------------------- ### Get Google Trends Locations C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md Retrieves a list of available locations for Google Trends data. Requires authentication with username and password. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.KeywordsDataApi.GoogleTrendsLocationsAsync(); ``` -------------------------------- ### Post Trustpilot Reviews Task C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/BusinessDataApi.md Initiates a Trustpilot reviews task for a given domain and depth. Requires authentication credentials. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.BusinessDataApi.TrustpilotReviewsTaskPostAsync(new List() { new() { Domain = "www.thepearlsource.com", Depth = 40, } }); ``` -------------------------------- ### Get Google Ads Locations C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md Retrieve a list of available Google Ads locations. This method requires authentication and no additional parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.KeywordsDataApi.GoogleAdsLocationsAsync(); ``` -------------------------------- ### Initialize DataForSeoClient and Call Google Finance Markets Task Post Async Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient and makes a request to the Google Finance Markets Task Post endpoint. This is used for posting tasks related to Google Finance markets. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleFinanceMarketsTaskPostAsync(new List() { new() { LocationCode = 2840, LanguageName = "English", } }); ``` -------------------------------- ### Get Google Locations C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/MerchantApi.md Use this endpoint to retrieve a list of supported locations for Google Merchant Center. This endpoint requires no parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.MerchantApi.MerchantGoogleLocationsAsync(); ``` -------------------------------- ### Initialize DataForSeoClient and Call GoogleDatasetSearchLiveAdvancedAsync Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Initializes the DataForSeoClient and performs a live advanced search for Google Dataset Search. This example demonstrates setting various parameters like keyword, last updated, file formats, usage rights, free status, and topics. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.SerpApi.GoogleDatasetSearchLiveAdvancedAsync(new List() { new() { Keyword = "water quality", LastUpdated = "1m", FileFormats = new List() { "archive", "image", }, UsageRights = "noncommercial", IsFree = true, Topics = new List() { "natural_sciences", "geo", }, } }); ``` -------------------------------- ### Get Google Languages C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/MerchantApi.md Use this endpoint to retrieve a list of supported languages for Google Merchant Center. This endpoint requires no parameters. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var result = await dfsClient.MerchantApi.MerchantGoogleLanguagesAsync(); ``` -------------------------------- ### Get Advanced Google Maps Task C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/SerpApi.md Retrieves advanced details for a specific Google Maps task using its ID. Requires authentication. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var id = "00000000-0000-0000-0000-000000000000"; var result = await dfsClient.SerpApi.GoogleMapsTaskGetAdvancedAsync(id); ``` -------------------------------- ### Initialize DataForSeo Client Source: https://github.com/dataforseo/csharpclient/blob/master/docs/AppDataApi.md Instantiate the DataForSeoClient with your username and password. This client is used to make requests to the API. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); ``` -------------------------------- ### Get Google Trends Locations by Country C# Example Source: https://github.com/dataforseo/csharpclient/blob/master/docs/KeywordsDataApi.md Retrieves Google Trends data for a specific country. Requires authentication and the country code as a parameter. ```csharp var dfsClient = new DataForSeoClient(new DataForSeoClientConfiguration() { Username = "USERNAME", Password = "PASSWORD", }); var country = "us"; var result = await dfsClient.KeywordsDataApi.GoogleTrendsLocationsCountryAsync(country); ```