| ← Back to plugins index | |
🪙 Crypto | |
|---|---|
|
This plugin generates an SVG image containing crypto metrics from a given address. It uses the CoinGecko API to fetch crypto prices. For more information, check the CoinGecko API documentation. | |
| Authors | @dajneem23 |
| Supported Features → Full specification |
|
|
|
🗝️ plugin_crypto |
|
|
|
|
➡️ Available Options
| Option | Description |
|
Enable crypto plugin |
Type: booleanDefault: no |
|
|
Crypto id (from Coingecko) |
Type: stringDefault: "" Example: bitcoin |
|
|
The target currency of market data (usd, eur, jpy, etc.) |
Type: stringDefault: "usd" Example: "usd" |
|
|
Data up to number of days ago (eg. 1,14,30,max) |
Type: stringDefault: "1" Example: 1 |
|
|
The number of decimal places to use |
Type: numberDefault: 2 Example: 2 |
name: Crypto Metrics
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.crypto.svg
token: NOT_NEEDED
base: ""
plugin_crypto: yes
plugin_crypto_id: bitcoin
plugin_crypto_vs_currency: usd
plugin_crypto_days: 1
plugin_crypto_precision: 2