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
use crate::client::FplApiClient;
use crate::models::set_piece::SetPieceNotes;
use anyhow::Result;

impl FplApiClient {
    /// gets set piece notes of all teams
    pub async fn get_set_piece(&self) -> Result<SetPieceNotes> {
        self.gets("team/set-piece-notes").await
    }
}