summaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 41634c66a4d463e78fd8fd56cb1af23816b1514a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! # Rust client for the [PandaScore API](https://pandascore.co/).
//!
//! Currently **only** supports the free tier of the API.
//!
//! ## Features
//! - [ ] "All Video Games" endpoints
//!     - [ ] Incidents
//!     - [x] Leagues
//!     - [ ] Lives
//!     - [x] Matches
//!     - [x] Players
//!     - [x] Series
//!     - [x] Teams
//!     - [x] Tournaments
//!     - [ ] Video Games
//! - [ ] "League of Legends" endpoints
//!     - [x] Champions
//!     - [ ] ~Games~
//!     - [x] Items
//!     - [x] Leagues
//!     - [ ] ~Mastery~
//!     - [ ] ~Stats~
//!     - [x] Matches
//!     - [ ] ~Stats~
//!     - [x] Players
//!     - [x] Series
//!     - [x] Teams
//!     - [x] Spells
//!     - [x] Tournaments
//! - [ ] "Call of Duty" endpoints
//! - [ ] "Counter Strike" endpoints
//! - [ ] "Dota 2" endpoints
//! - [ ] "EA Sports FC" endpoints
//! - [ ] "LOL Wild Rift" endpoints
//! - [ ] "Mobile Legends: Bang Bang" endpoints
//! - [ ] "OverWatch" endpoints
//! - [ ] "PUBG" endpoints
//! - [ ] "Rainbow Six Siege" endpoints
//! - [x] "Rocket League" endpoints
//! - [ ] "Valorant" endpoints
//! - [ ] "King of Glory" endpoints
//! - [ ] "StarCraft 2" endpoints
//! - [ ] "StarCraft Brood War" endpoints
//!
//! ## Examples
//! To search for a league by name:
//! ```rust,no_run
#![doc = include_str!("../examples/list_leagues.rs")]
//! ```
//! To get a player by ID or name:
//! ```rust,no_run
#![doc = include_str!("../examples/get_player.rs")]
//! ```

mod client;
pub mod endpoint;
pub mod model;

pub use client::{Client, ClientTransport};