Skip to main content
Glama

Controtto

by contre95
priceProviders.go653 B
package pnl type PriceProvider struct { Public bool IsSet bool Color string ProviderLogo string ProviderName string ProviderKey string NeedsToken bool Token string ProviderURL string Env string Init func(string) PriceAPI PriceAPI } type PriceProviders map[string]PriceProvider type PriceProviderNotFound error // PriceProvider repository interface type PriceAPI interface { // GetCurrentPrice returns the given price of assetA expressed in terms of assetB, if the value is Provider is not found it returns a MarketNotFound error GetCurrentPrice(assetA, assetB string) (float64, error) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/contre95/controtto'

If you have feedback or need assistance with the MCP directory API, please join our Discord server