Web scraper and parser for HLTV match data
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.
Adrian 4931454c50 Create basic types for hltv data
Also add both apache and MIT license. Add a few explanations in README
2 years ago
src Create basic types for hltv data 2 years ago
.gitignore Initial commit 2 years ago
Cargo.lock Create basic types for hltv data 2 years ago
Cargo.toml Create basic types for hltv data 2 years ago
LICENSE-APACHE Create basic types for hltv data 2 years ago
LICENSE-MIT Create basic types for hltv data 2 years ago
README.md Create basic types for hltv data 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.