KaggleAPI-NET provides an easy to use .NET Standard API client for Kaggle API. It aims to expose the complete Kaggle API in native C#, which allows .NET developers to programmatically interact with available Kaggle API services using the cross-platform .NET Standard specification.
KaggleAPI-NET is Apache-2.0-licensed, so personal and commmercial use alike is allowed. For further details, see the LICENSE file.
- β Typed responses and requests to over 24 endpoints. Complete and always up to date.
- β
Supports
.NET Standard 2.X, which includes all major platforms, including mobile:.NET FrameworkUWP.NET CoreXamarin.Forms
- β
Allow full control of one's
HttpClient, thereby maximizing flexibility - β Logging supported
- β All features from Kaggle API reimplemented for ease of development
- β Complete unit testing for all functionalities *Not well-developed yet*
.NET Standard 2.0
For ease of installation, you can add the lastest release of KaggleAPI-NET into your project using Nuget
- Include the library
using KaggleAPI.Web; using KaggleAPI.Web.Models;- Create a new client
KaggleClient kaggle = new KaggleClient();- Provide the client credentials for authentication
kaggle.Authenticate( new KaggleConfiguration { username = "YourUsername", key = "YourKey" }, method: AuthenticationMethod.Direct );- Make a request to list all Kaggle competitions given below queries
List<CompetitionInquiry>? result = await kaggle.CompetitionsList(search: "searchTerm");- Print the titles of all competitions found
foreach (CompetitionInquiry competition in result) Console.WriteLine(competition.title);- Finally, dispose the client
kaggle.Dispose()More examples can be found on the website and in the KaggleAPI.Tests directory.
More Information, Installation-Instructions, Examples, Guides can be found at petterpet01.github.io/KaggleAPI-NET/
Installation Instructions can be found in the Getting Started Guide
If you want to support this project or my work in general, you can send me supportive messages and donate a buck or two.