You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Also add both apache and MIT license. Add a few explanations in README |
2 years ago | |
---|---|---|
src | 2 years ago | |
.gitignore | 2 years ago | |
Cargo.lock | 2 years ago | |
Cargo.toml | 2 years ago | |
LICENSE-APACHE | 2 years ago | |
LICENSE-MIT | 2 years ago | |
README.md | 2 years ago |
README.md
HLTV client - WIP
A crate for fetching and parsing esports data from HLTV.org.
This is WIP. This crate should allow you to fetch and parse upcoming matches, results,
event information, player information. hltv
uses blocking calls via attohttpc
.
Might extend functionality to support async variants.
// Example
let q: Request<Match> = hltv::results()
.stars(1)
.date(d1, d2)
.type(EventType::LAN)
.build()
let result = q.fetch() // type: Result<Vec<Match>, hltv::Error>
Getting more detailed information
This API mimics the way you discover information on HLTV. Summary pages like hltv.org/matches
contains less information in the HTML document than the detailed match-specific page.
/// Example
License
This project is dual-licensed under the MIT and Apache 2.0 license.