-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This MR: * creates a script `generate_examples.py` that creates python scripts for each API endpoint * adds examples based on the API endpoint naming convention
- Loading branch information
1 parent
d6a5a3d
commit 9474f00
Showing
184 changed files
with
1,590 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-metadata/tagged-entities.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.blockchain_metadata_tagged_entities().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.blockchain_metadata_tags().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_accounts_v2(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/accounts/{account}/balance-updates.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_balance_updates_for_account_v2(asset='<arg values>', account='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/balance-updates.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_balance_updates_v2(asset='<arg values>').first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_blocks_v2(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/blocks/{block_hash}.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_full_block_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/blocks/{block_hash}/transactions/{txid}.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_full_transaction_for_block_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/sub-accounts.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_sub_accounts_v2(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/transactions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_transactions_v2(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain-v2/{asset}/transactions/{txid}.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_full_transaction_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_accounts(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain/{asset}/balance-updates.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_balance_updates(asset='<arg values>').first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_blocks(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain/{asset}/blocks/{block_hash}.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_full_block().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain/{asset}/blocks/{block_hash}/transactions/{txid}.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_full_transaction_for_block().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain/{asset}/transaction-tracker.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_transaction_tracker(asset='<arg values>').first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_list_of_transactions(asset='<arg values>').first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/blockchain/{asset}/transactions/{txid}.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.get_full_transaction().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_asset_chains_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_asset_metrics_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/exchange-asset-metrics.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_exchange_asset_metrics_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_exchange_metrics_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_index_candles_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_index_levels_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/institution-metrics.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_institution_metrics_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_candles_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-contract-prices.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_contract_prices_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-funding-rates-predicted.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_funding_rates_predicted_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-funding-rates.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_funding_rates_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_greeks_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-implied-volatility.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_implied_volatility_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-liquidations.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_liquidations_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_metrics_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-openinterest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_open_interest_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/market-orderbooks.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_orderbooks_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_quotes_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_market_trades_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_mempool_feerates_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/mining-pool-tips-summary.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_mining_pool_tips_summaries_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_pair_candles_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_pair_metrics_v2().first_page() | ||
print(data) |
8 changes: 8 additions & 0 deletions
8
examples/api_doc_examples/catalog-all-v2/transaction-tracker.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_transaction_tracker_assets_v2().first_page() | ||
print(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
from coinmetrics.api_client import CoinMetricsClient | ||
|
||
api_key = "<API_KEY>" | ||
client = CoinMetricsClient(api_key) | ||
|
||
data = client.catalog_full_asset_alerts().first_page() | ||
print(data) |
Oops, something went wrong.