HowLongToBeat 1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package HowLongToBeat --version 1.0.0
NuGet\Install-Package HowLongToBeat -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="HowLongToBeat" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HowLongToBeat --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HowLongToBeat, 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 HowLongToBeat as a Cake Addin #addin nuget:?package=HowLongToBeat&version=1.0.0 // Install HowLongToBeat as a Cake Tool #tool nuget:?package=HowLongToBeat&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HowLongToBeat Wrapper
About & Credits
How long to beat provides information and data about games and how long it will take to finish them. It's a great website which relies heavily from community data.
This package is a simple wrapper api to fetch data from How long to beat (search and detail). Please use this responsibly.
Usage
Install
Install the library using nuget package manager (search for HowLongToBeat) or using Package Manager Console
Install-Package HowLongToBeat
Install the library using .NET CLI
dotnet add package HowLongToBeat
Sample Code
- Import namespace
using HowLongToBeat;
- Instantiate the
HLTBWebScraper
object and use theSearch()
method
var query = "Halo";
var ws = new HLTBWebScraper();
var result = await ws.Search(query);
Example Result
[
{
"title": "Halo Infinite",
"imgURL": "https://howlongtobeat.com/games/57454_Halo_Infinite.jpg",
"main": "10½ Hours",
"mainAndExtras": "17½ Hours",
"completionist": "25 Hours"
},
{
"title": "Halo: The Master Chief Collection",
"imgURL": "https://howlongtobeat.com/games/Halo_Collection.jpg",
"main": "",
"mainAndExtras": "",
"completionist": ""
},
{
"title": "Halo 3",
"imgURL": "https://howlongtobeat.com/games/256px-Halo_3_final_boxshot.JPG",
"main": "8 Hours",
"mainAndExtras": "11½ Hours",
"completionist": "18½ Hours"
},
{
"title": "Halo: Combat Evolved",
"imgURL": "https://howlongtobeat.com/games/Halobox.jpg",
"main": "10 Hours",
"mainAndExtras": "11 Hours",
"completionist": "13 Hours"
}
]
Product | Versions 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.
-
.NETStandard 2.1
- AngleSharp (>= 0.16.1)
- RandomUserAgent (>= 1.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.