Skip to content

reservoir-data/tap-pokemon

Repository files navigation

tap-pokemon

Singer tap for Pokémon.

Built with the Meltano SDK for Singer Taps and Targets.

🚧 Under development. Not all endpoints have been implemented. See API Coverage. 🚧

Capabilities

  • catalog
  • state
  • discover
  • about
  • stream-maps
  • schema-flattening

Settings

Setting Required Default Description
base_url False https://pokeapi.co The base URL of the Pokémon API.
stream_maps False None Config object for stream maps capability.
stream_map_config False None User-defined config values to be used within map expressions.
flattening_enabled False None 'True' to enable schema flattening and automatically expand nested properties.
flattening_max_depth False None The max depth to flatten schemas.

A full list of supported settings and capabilities is available by running: tap-pokemon --about

API Coverage

Stream Endpoint
pokemon_species /api/v2/pokemon-species

Usage

You can easily run tap-pokemon by itself or in a pipeline using Meltano.

Executing the Tap Directly

tap-pokemon --version
tap-pokemon --help
tap-pokemon --config CONFIG --discover > ./catalog.json

Developer Resources

Initialize your Development Environment

curl -LsSf https://astral.sh/uv/install.sh | sh  # or follow https://docs.astral.sh/uv/getting-started/installation/
uv sync

Create and Run Tests

Create tests within the tests subfolder and then run:

uv run pytest

You can also test the tap-pokemon CLI interface directly using uv run:

uv run tap-pokemon --help

Testing with Meltano

Note: This tap will work in any Singer environment and does not require Meltano. Examples here are for convenience and to streamline end-to-end orchestration scenarios.

Use Meltano to run an EL pipeline:

uvx meltano invoke tap-pokemon --version
uvx meltano run tap-pokemon target-jsonl

SDK Dev Guide

See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.

About

Singer tap for the Pokémon API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages