@kitten-science/kitten-analysts
Version:
17 lines • 523 B
JavaScript
import { gaugeFactory } from "./factory.js";
export const kg_crypto_price = (cache, remote) => gaugeFactory({
cache,
remote,
help: "The current price of blackcoin.",
name: "kg_crypto_price",
labelNames: ["client_type", "guid", "location"],
require: "getCalendar",
extract(client_type, guid, location, element, subject) {
subject.set({
client_type,
guid,
location,
}, element.cryptoPrice);
},
});
//# sourceMappingURL=kg_crypto_price.js.map