{"id":37043016,"url":"https://github.com/aylien/aylien_newsapi_csharp","last_synced_at":"2026-01-14T05:00:44.162Z","repository":{"id":149682452,"uuid":"57117780","full_name":"AYLIEN/aylien_newsapi_csharp","owner":"AYLIEN","description":"AYLIEN's officially supported .Net (C#) client library for accessing News API","archived":true,"fork":false,"pushed_at":"2020-01-09T08:38:46.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-11-15T05:26:37.509Z","etag":null,"topics":["api","api-client","aylien","aylien-news-api","csharp","machine-learning","news","newsapi","nlp","rest-api","text-analysis"],"latest_commit_sha":null,"homepage":"https://newsapi.aylien.com/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AYLIEN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-04-26T10:01:02.000Z","updated_at":"2023-01-28T13:53:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba5c6a63-bf90-45fb-a8fb-cf40f92ca4c3","html_url":"https://github.com/AYLIEN/aylien_newsapi_csharp","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/AYLIEN/aylien_newsapi_csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYLIEN%2Faylien_newsapi_csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYLIEN%2Faylien_newsapi_csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYLIEN%2Faylien_newsapi_csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYLIEN%2Faylien_newsapi_csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AYLIEN","download_url":"https://codeload.github.com/AYLIEN/aylien_newsapi_csharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYLIEN%2Faylien_newsapi_csharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28410072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","aylien","aylien-news-api","csharp","machine-learning","news","newsapi","nlp","rest-api","text-analysis"],"created_at":"2026-01-14T05:00:27.464Z","updated_at":"2026-01-14T05:00:44.135Z","avatar_url":"https://github.com/AYLIEN.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AYLIEN News API - C# SDK\n\nThe AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. \n\nSign up at [https://newsapi.aylien.com/](https://newsapi.aylien.com/).\n\nFor more documentation see [https://newsapi.aylien.com/docs/](https://newsapi.aylien.com/docs/).\n\n## Frameworks supported\n- .NET 4.0 or later\n- Windows Phone 7.1 (Mango)\n\n## Dependencies\n- [FubarCoder](https://www.nuget.org/packages/FubarCoder.RestSharp.Portable.HttpClient) - 4.0.8 or later\n- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) - 12.0.2 or later\n\nThe DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:\n```\nInstall-Package FubarCoder.RestSharp.Portable.HttpClient\nInstall-Package Newtonsoft.Json\n```\n\nNOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See [RestSharp#742](https://github.com/restsharp/RestSharp/issues/742)\n\n## Installation\nRun the following command to generate the DLL\n- [Mac/Linux] `/bin/sh build.sh`\n- [Windows] `build.bat`\n\nThen include the DLL (under the `bin` folder) in the C# project, and use the namespaces:\n```csharp\nusing Aylien.NewsApi.Api;\nusing Aylien.NewsApi.Client;\nusing Aylien.NewsApi.Model;\n```\n\n## Getting Started\n\n```csharp\nusing System;\nusing Aylien.NewsApi.Api;\nusing Aylien.NewsApi.Client;\nusing Aylien.NewsApi.Model;\nusing System.Collections.Generic;\n\nnamespace GettingStartedExample\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            // Configure API key authorization: app_id\n            var apiId = System.Environment.GetEnvironmentVariable(\"X-AYLIEN-NewsAPI-Application-ID\");\n            Configuration.Default.ApiKey.Add(\"X-AYLIEN-NewsAPI-Application-ID\", apiId);\n\n            // Configure API key authorization: app_key\n            var apiKey = System.Environment.GetEnvironmentVariable(\"X-AYLIEN-NewsAPI-Application-Key\");\n            Configuration.Default.ApiKey.Add(\"X-AYLIEN-NewsAPI-Application-Key\", apiKey);\n\n            var apiInstance = new DefaultApi();\n\n            try\n            {\n                // List stories\n                Stories storiesResponse = apiInstance.ListStories(\n                    title: \"trump\",\n                    publishedAtStart: \"NOW-7DAYS\",\n                    publishedAtEnd: \"NOW\",\n                    language: new List\u003cstring\u003e { \"en\" },\n                    notLanguage: new List\u003cstring\u003e { \"it\", \"es\" },\n                    entitiesBodyLinksDbpedia: new List\u003cstring\u003e {\n                        \"http://dbpedia.org/resource/Donald_Trump\",\n                        \"http://dbpedia.org/resource/Hillary_Rodham_Clinton\"\n                    },\n                    sortBy: \"social_shares_count.facebook\"\n                );\n\n                foreach (var story in storiesResponse._Stories)\n                {\n                    Console.WriteLine(story.Title + \" / \" + story.Source.Name);\n                }\n            }\n            catch (Exception e)\n            {\n                Console.WriteLine(\"Exception when calling DefaultApi.ListStories: \" + e.Message);\n            }\n        }\n    }\n}\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.aylien.com/news*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DefaultApi* | [**ListAutocompletes**](docs/DefaultApi.md#listautocompletes) | **GET** /autocompletes | List autocompletes\n*DefaultApi* | [**ListClusters**](docs/DefaultApi.md#listclusters) | **GET** /clusters | List Clusters\n*DefaultApi* | [**ListCoverages**](docs/DefaultApi.md#listcoverages) | **GET** /coverages | List coverages\n*DefaultApi* | [**ListHistograms**](docs/DefaultApi.md#listhistograms) | **GET** /histograms | List histograms\n*DefaultApi* | [**ListRelatedStories**](docs/DefaultApi.md#listrelatedstories) | **GET** /related_stories | List related stories\n*DefaultApi* | [**ListStories**](docs/DefaultApi.md#liststories) | **GET** /stories | List Stories\n*DefaultApi* | [**ListTimeSeries**](docs/DefaultApi.md#listtimeseries) | **GET** /time_series | List time series\n*DefaultApi* | [**ListTrends**](docs/DefaultApi.md#listtrends) | **GET** /trends | List trends\n\n\n\u003ca name=\"documentation-for-models\"\u003e\u003c/a\u003e\n## Documentation for Models\n\n - [Model.Author](docs/Author.md)\n - [Model.Autocomplete](docs/Autocomplete.md)\n - [Model.Autocompletes](docs/Autocompletes.md)\n - [Model.Category](docs/Category.md)\n - [Model.CategoryLinks](docs/CategoryLinks.md)\n - [Model.Cluster](docs/Cluster.md)\n - [Model.Clusters](docs/Clusters.md)\n - [Model.Coverages](docs/Coverages.md)\n - [Model.Entities](docs/Entities.md)\n - [Model.Entity](docs/Entity.md)\n - [Model.EntityLinks](docs/EntityLinks.md)\n - [Model.Error](docs/Error.md)\n - [Model.ErrorLinks](docs/ErrorLinks.md)\n - [Model.Errors](docs/Errors.md)\n - [Model.HistogramInterval](docs/HistogramInterval.md)\n - [Model.Histograms](docs/Histograms.md)\n - [Model.Location](docs/Location.md)\n - [Model.Media](docs/Media.md)\n - [Model.Rank](docs/Rank.md)\n - [Model.Rankings](docs/Rankings.md)\n - [Model.RelatedStories](docs/RelatedStories.md)\n - [Model.RepresentativeStory](docs/RepresentativeStory.md)\n - [Model.Scope](docs/Scope.md)\n - [Model.Sentiment](docs/Sentiment.md)\n - [Model.Sentiments](docs/Sentiments.md)\n - [Model.ShareCount](docs/ShareCount.md)\n - [Model.ShareCounts](docs/ShareCounts.md)\n - [Model.Source](docs/Source.md)\n - [Model.Stories](docs/Stories.md)\n - [Model.Story](docs/Story.md)\n - [Model.StoryCluster](docs/StoryCluster.md)\n - [Model.StoryLinks](docs/StoryLinks.md)\n - [Model.StoryTranslations](docs/StoryTranslations.md)\n - [Model.StoryTranslationsEn](docs/StoryTranslationsEn.md)\n - [Model.Summary](docs/Summary.md)\n - [Model.TimeSeries](docs/TimeSeries.md)\n - [Model.TimeSeriesList](docs/TimeSeriesList.md)\n - [Model.Trend](docs/Trend.md)\n - [Model.Trends](docs/Trends.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faylien%2Faylien_newsapi_csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faylien%2Faylien_newsapi_csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faylien%2Faylien_newsapi_csharp/lists"}