Skip to content

Latest commit

 

History

History
100 lines (96 loc) · 3.36 KB

README.md

File metadata and controls

100 lines (96 loc) · 3.36 KB
← 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
  • 👤 Users
  • 👥 Organizations
  • 📓 Repositories
🗝️ plugin_crypto

➡️ Available Options

OptionDescription

plugin_crypto

Enable crypto plugin

Type: boolean
Default: no

plugin_crypto_id

Crypto id (from Coingecko)

Type: string
Default: ""
Example: bitcoin

plugin_crypto_vs_currency

The target currency of market data (usd, eur, jpy, etc.)

Type: string
Default: "usd"
Example: "usd"

plugin_crypto_days

Data up to number of days ago (eg. 1,14,30,max)

Type: string
Default: "1"
Example: 1

plugin_crypto_precision

The number of decimal places to use

Type: number
Default: 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