How long to beat provides information and data about games and how long it will take to finish them.
This library is a simple wrapper api to fetch data from How long to beat (search and detail). It is an awesome website and a great service, also heavily living from community data. Please check the website and support if you like what they are doing.
rust
howlongtobeat = "1.0.0"
rust
use howlongtobeat::Search;
rust
let games_found = Search("Elden Ring".to_string());
println!("{:#?}", games_found);
rust
[
Games {
title: "Elden Ring",
img: "https://howlongtobeat.com/games/68151_Elden_Ring.jpg",
main: "52",
extra: "98",
completionist: "131",
},
Games {
title: "Elden Ring GB",
img: "https://howlongtobeat.com/games/108888_Elden_Ring_GB.jpg",
main: "--",
extra: "--",
completionist: "--",
},
]
Single-Player
Solo
Co-Op
Vs.
To get the hours to complete a online game is really hard becouse it depends on how long you will play it or how many updates will the game have in the future. Not even in howlongtobeat page is accurated for example take a look at (Valorant) it says 23½ Hours ive play it and it take way more than that, there are many online games that shows the wrong time.
DO WHAT THE FUCK YOU WANT