Sleeper
Table of Contents
The tap-sleeper Meltano extractor pulls data from Sleeper that can then be sent to a destination using a loader.
-
- Repository: https://github.com/collinprather/tap-sleeper
-
-
-
-
-
-
-
- Maintainer: Collin Prather
- Meltano Stats:
-
-
- Built with Meltano SDK: ✔
-
-
Getting Started #
Prerequisites #
If you haven't already, follow the initial steps of the Getting Started guide:
Installation and configuration #
Using the Command Line Interface #
-
Add the
tap-sleeperextractor to your project usingmeltano add:meltano add extractor tap-sleeper -
Configure the settings below using
meltano config.
Next steps #
Follow the remaining steps of the Getting Started guide:
- Select entities and attributes to extract
- Add a loader to send data to a destination
- Run a data integration (EL) pipeline
If you run into any issues, learn how to get help.
Capabilities #
Settings #
These and other supported settings 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)
#
-
Environment variable:
TAP_SLEEPER_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)
#
-
Environment variable:
TAP_SLEEPER_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>
Trending Player Lookback Hours (trending_players_lookback_hours)
#
-
Environment variable:
TAP_SLEEPER_TRENDING_PLAYERS_LOOKBACK_HOURS
Total hours to lookback when requesting the current trending players
How to use #
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>
Trending Players Limit (trending_players_limit)
#
-
Environment variable:
TAP_SLEEPER_TRENDING_PLAYERS_LIMIT
Total number of players to return when requesting the current trending players
How to use #
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!