The tap-decentraland-api extractor pulls data from Decentraland API 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:
Installation and configuration
-
Add the tap-decentraland-api extractor to your
project using
:meltano add
-
Configure the tap-decentraland-api
settings using
:meltano config
-
Test that extractor settings are valid using
:meltano config
meltano add extractor tap-decentraland-api
meltano config tap-decentraland-api set --interactive
meltano config tap-decentraland-api test
Next steps
Follow the remaining steps of the Getting Started guide:
If you run into any issues, learn how to get help.
Capabilities
The current capabilities for
tap-decentraland-api
may have been automatically set when originally added to the Hub. Please review the
capabilities when using this extractor. If you find they are out of date, please
consider updating them by making a pull request to the YAML file that defines the
capabilities for this extractor.
This plugin has the following capabilities:
- about
- catalog
- discover
- schema-flattening
- state
- stream-maps
You can
override these capabilities or specify additional ones
in your meltano.yml
by adding the capabilities
key.
Settings
The
tap-decentraland-api
settings that are known to Meltano are documented below. To quickly
find the setting you're looking for, click on any setting name from the list:
api_url
builder_api_url
catalysts_start_date
coingecko_start_date
coingecko_url
events_api_url
flattening_enabled
flattening_max_depth
governance_aragon_api_url
governance_snapshot_api_url
peer_api_url
places_api_url
scenes_per_run
stream_map_config
stream_maps
sync_content_after
You can also list these settings using
with the meltano config
list
subcommand:
meltano config tap-decentraland-api list
You can
override these settings or specify additional ones
in your meltano.yml
by adding the settings
key.
Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.
API URL (api_url)
-
Environment variable:
TAP_DECENTRALAND_API_API_URL
-
Default Value:
https://api.decentraland.org
Api Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set api_url [value]
Builder API URL (builder_api_url)
-
Environment variable:
TAP_DECENTRALAND_API_BUILDER_API_URL
-
Default Value:
https://builder-api.decentraland.org/v1
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set builder_api_url [value]
Catalysts Start Date (catalysts_start_date)
-
Environment variable:
TAP_DECENTRALAND_API_CATALYSTS_START_DATE
-
Default Value:
2000-01-01
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set catalysts_start_date [value]
Coingecko Start Date (coingecko_start_date)
-
Environment variable:
TAP_DECENTRALAND_API_COINGECKO_START_DATE
-
Default Value:
2017-10-28
Coingecko Start Date
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set coingecko_start_date [value]
Coingecko URL (coingecko_url)
-
Environment variable:
TAP_DECENTRALAND_API_COINGECKO_URL
-
Default Value:
https://api.coingecko.com/api/v3
Coingecko Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set coingecko_url [value]
Events API URL (events_api_url)
-
Environment variable:
TAP_DECENTRALAND_API_EVENTS_API_URL
-
Default Value:
https://events.decentraland.org/api
Events Api Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set events_api_url [value]
Flattening Enabled (flattening_enabled)
-
Environment variable:
TAP_DECENTRALAND_API_FLATTENING_ENABLED
'True' to enable schema flattening and automatically expand nested properties.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set flattening_enabled [value]
Flattening Max Depth (flattening_max_depth)
-
Environment variable:
TAP_DECENTRALAND_API_FLATTENING_MAX_DEPTH
The max depth to flatten schemas.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set flattening_max_depth [value]
Governance Aragon API URL (governance_aragon_api_url)
-
Environment variable:
TAP_DECENTRALAND_API_GOVERNANCE_ARAGON_API_URL
-
Default Value:
https://api.thegraph.com/subgraphs/name/aragon/aragon-voting-mainnet
Governance Aragon Api Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set governance_aragon_api_url [value]
Governance Snapshot API URL (governance_snapshot_api_url)
-
Environment variable:
TAP_DECENTRALAND_API_GOVERNANCE_SNAPSHOT_API_URL
-
Default Value:
https://governance.decentraland.org/api
Governance Snapshot Api Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set governance_snapshot_api_url [value]
Peer API URL (peer_api_url)
-
Environment variable:
TAP_DECENTRALAND_API_PEER_API_URL
-
Default Value:
https://peer-lb.decentraland.org
Peer Api Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set peer_api_url [value]
Places API URL (places_api_url)
-
Environment variable:
TAP_DECENTRALAND_API_PLACES_API_URL
-
Default Value:
https://places.decentraland.org/api
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set places_api_url [value]
Scenes Per Run (scenes_per_run)
-
Environment variable:
TAP_DECENTRALAND_API_SCENES_PER_RUN
-
Default Value:
2000
Scenes Per Run
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set scenes_per_run [value]
Stream Map Config (stream_map_config)
-
Environment variable:
TAP_DECENTRALAND_API_STREAM_MAP_CONFIG
User-defined config values to be used within map expressions.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set stream_map_config [value]
Stream Maps (stream_maps)
-
Environment variable:
TAP_DECENTRALAND_API_STREAM_MAPS
Config object for stream maps capability. For more information check out Stream Maps.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set stream_maps [value]
Sync Content After (sync_content_after)
-
Environment variable:
TAP_DECENTRALAND_API_SYNC_CONTENT_AFTER
-
Default Value:
1680998400000
Sync content after certain snapshot date in unix timestamp
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-api set sync_content_after [value]
Something missing?
This page is generated from a YAML file that you can contribute changes to.
Edit it on GitHub!Looking for help?
#plugins-general
channel.