The tap-sleeper Meltano extractor pulls data from Sleeper that can then be sent to a destination using a loader.

Getting Started #

Prerequisites #

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration #

  1. Add the tap-sleeper extractor to your project using meltano add :

    meltano add extractor tap-sleeper
  2. Configure the settings below using meltano config .

Next steps #

Follow the remaining steps of the Getting Started guide:

  1. Select entities and attributes to extract
  2. Add a loader to send data to a destination
  3. Run a data integration (EL) pipeline
If you run into any issues, learn how to get help.

Capabilities #

Settings #

The settings for extractor tap-sleeper that are known to Meltano are documented below. To quickly find the setting you're looking for, use the Table of Contents at the top of the page.

Sport (sport) #

Professional sport league, ie nfl, nba, etc

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-sleeper set sport <sport>

export TAP_SLEEPER_SPORT=<sport>

League ID (league_id) #

Unique identifier for the sleeper league

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-sleeper set league_id <league_id>

export TAP_SLEEPER_LEAGUE_ID=<league_id>

Total hours to lookback when requesting the current trending players

Manage this setting using meltano config or an environment variable:

meltano config tap-sleeper set trending_players_lookback_hours <trending_players_lookback_hours>

export TAP_SLEEPER_TRENDING_PLAYERS_LOOKBACK_HOURS=<trending_players_lookback_hours>

Total number of players to return when requesting the current trending players

Manage this setting using meltano config or an environment variable:

meltano config tap-sleeper set trending_players_limit <trending_players_limit>

export TAP_SLEEPER_TRENDING_PLAYERS_LIMIT=<trending_players_limit>

Looking for help? #

If you're having trouble getting the tap-sleeper extractor to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the #plugins-general channel.

Found an issue on this page? #

This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!