KaggleAPI.Web 1.0.0

dotnet add package KaggleAPI.Web --version 1.0.0
NuGet\Install-Package KaggleAPI.Web -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KaggleAPI.Web" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KaggleAPI.Web --version 1.0.0
#r "nuget: KaggleAPI.Web, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KaggleAPI.Web as a Cake Addin
#addin nuget:?package=KaggleAPI.Web&version=1.0.0

// Install KaggleAPI.Web as a Cake Tool
#tool nuget:?package=KaggleAPI.Web&version=1.0.0

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.

Features

  • ✅ 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 Framework
    • UWP
    • .NET Core
    • Xamarin.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 <sup>*Not well-developed yet*</sup>

Target

.NET Standard 2.0

Get KaggleAPI-NET

For ease of installation, you can add the lastest release of KaggleAPI-NET into your project using Nuget

Usage

  • 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
Note that this disposes all copy of the credentials, and not the HttpClient.
kaggle.Dispose()

More examples can be found on the website and in the KaggleAPI.Tests directory.

Docs and Usage

More Information, Installation-Instructions, Examples, Guides can be found at petterpet01.github.io/KaggleAPI-NET/

Installation

Installation Instructions can be found in the Getting Started Guide

Donations

If you want to support this project or my work in general, you can send me supportive messages and donate a buck or two.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.0 260 2/22/2023
1.0.0-rc1 125 2/22/2023

Initial release.