Skip to content

Client to easily interact with the Sleeper API using the Ballerina programming language

Notifications You must be signed in to change notification settings

plee1295/sleeper-client-ballerina

Repository files navigation

Sleeper API Client - Ballerina

Description

This package was created to allow ballerina developers an easy way to interact with the Sleeper fantasy football API.

Usage

To import the entire package:

import parker/sleeper as sleeper;

To import a specific module:

import parker/sleeper.drafts as drafts;

Available modules include drafts, leagues, players, and users.

Drafts Module

Available methods include:

  • getAllDraftsForUser
  • getAllDraftsForLeague
  • getDraftById
  • getDraftPicks
  • getTradedDraftPicks

Leagues Module

Available methods include:

  • getAllLeaguesForUser
  • getLeagueById
  • getRostersForLeague
  • getUsersInLeague
  • getMatchupsForLeague
  • getWinnersBracketForLeague
  • getLosersBracketForLeague
  • getLosersBracketForLeague
  • getTradedPicksForLeague
  • getNflState

Players Module

Available methods include:

  • getAllPlayers
  • getTrendingPlayers

Users Module

Available methods include:

  • getUserByUsername
  • getUserById

About

Client to easily interact with the Sleeper API using the Ballerina programming language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published