fpl_client 0.1.1

A Rust wrapper for the Fantasy Premier League API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

/// Bonus point and scoring status across active gameweeks (events)
#[derive(Debug, Serialize, Deserialize)]
pub struct EventStatus {
    pub status: Vec<StatusEntry>,
    pub leagues: String,
}

/// Scoring and bonus status for a single date within a gameweek (event)
#[derive(Debug, Serialize, Deserialize)]
pub struct StatusEntry {
    pub bonus_added: bool,
    pub date: String,
    pub event: i32,
    pub points: String,
}