The tap-decentraland-thegraph extractor pulls data from Decentraland Thegraph 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-thegraph extractor to your
project using
:meltano add
-
Configure the tap-decentraland-thegraph
settings using
:meltano config
-
Test that extractor settings are valid using
:meltano config
meltano add extractor tap-decentraland-thegraph
meltano config tap-decentraland-thegraph set --interactive
meltano config tap-decentraland-thegraph 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-thegraph
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-thegraph
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:
account_subgraph_paths
api_url
eth_collections_url
eth_mana_holder_url
incremental_limit
max_rows_per_run
poaps_details_url
poaps_xdai_url
polygon_collections_url
polygon_mana_holder_url
rentals_url
start_updated_at
subgraph_url
Expand To Show SDK Settings
You can also list these settings using
with the meltano config
list
subcommand:
meltano config tap-decentraland-thegraph 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.
Account Subgraph Paths (account_subgraph_paths)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_ACCOUNT_SUBGRAPH_PATHS
-
Default Value:
["mana-ethereum-mainnet","mana-matic-mainnet"]
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set account_subgraph_paths [value]
API URL (api_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_API_URL
-
Default Value:
https://subgraph.decentraland.org/marketplace
The API URL.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set api_url [value]
Eth Collections URL (eth_collections_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_ETH_COLLECTIONS_URL
-
Default Value:
https://subgraph.decentraland.org/collections-ethereum-mainnet
Eth Collections Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set eth_collections_url [value]
Eth Mana Holder URL (eth_mana_holder_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_ETH_MANA_HOLDER_URL
-
Default Value:
https://subgraph.decentraland.org/mana-ethereum-mainnet
Eth Mana Holder URL
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set eth_mana_holder_url [value]
Incremental Limit (incremental_limit)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_INCREMENTAL_LIMIT
Incremental Limit
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set incremental_limit [value]
Max Rows Per Run (max_rows_per_run)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_MAX_ROWS_PER_RUN
-
Default Value:
1000
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set max_rows_per_run [value]
Poaps Details URL (poaps_details_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_POAPS_DETAILS_URL
-
Default Value:
http://api.poap.xyz
Poaps Details Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set poaps_details_url [value]
Poaps Xdai URL (poaps_xdai_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_POAPS_XDAI_URL
-
Default Value:
https://api.thegraph.com/subgraphs/name/poap-xyz/poap-xdai
Poaps Xdai Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set poaps_xdai_url [value]
Polygon Collections URL (polygon_collections_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_POLYGON_COLLECTIONS_URL
-
Default Value:
https://subgraph.decentraland.org/collections-matic-mainnet
Polygon Collections URL
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set polygon_collections_url [value]
Polygon Mana Holder URL (polygon_mana_holder_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_POLYGON_MANA_HOLDER_URL
-
Default Value:
https://subgraph.decentraland.org/mana-matic-mainnet
Polygon Mana Holder Url
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set polygon_mana_holder_url [value]
Rentals URL (rentals_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_RENTALS_URL
-
Default Value:
https://subgraph.decentraland.org/rentals-ethereum-mainnet
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set rentals_url [value]
Start Updated At (start_updated_at)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_START_UPDATED_AT
-
Default Value:
1
The start updated at date to use.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set start_updated_at [value]
Subgraph URL (subgraph_url)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_SUBGRAPH_URL
-
Default Value:
https://subgraph.decentraland.org
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set subgraph_url [value]
Expand To Show SDK Settings
Flattening Enabled (flattening_enabled)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_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-thegraph set flattening_enabled [value]
Flattening Max Depth (flattening_max_depth)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_FLATTENING_MAX_DEPTH
The max depth to flatten schemas.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set flattening_max_depth [value]
Stream Map Config (stream_map_config)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_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-thegraph set stream_map_config [value]
Stream Maps (stream_maps)
-
Environment variable:
TAP_DECENTRALAND_THEGRAPH_STREAM_MAPS
Config object for stream maps capability.
Configure this setting directly using the following Meltano command:
meltano config tap-decentraland-thegraph set stream_maps [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.