{"id":94210,"date":"2024-04-27T06:52:06","date_gmt":"2024-04-26T22:52:06","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=94210"},"modified":"2024-04-27T06:52:06","modified_gmt":"2024-04-26T22:52:06","slug":"coinmon-cmdline","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/coinmon-cmdline.html","title":{"rendered":"\u7528\u547d\u4ee4\u884c\u67e5\u770b\u52a0\u5bc6\u8d27\u5e01\u7684\u4ef7\u683c"},"content":{"rendered":"
\u524d\u6bb5\u65f6\u95f4\uff0c\u6211\u4eec\u53d1\u5e03\u4e86\u4e00\u4e2a\u5173\u4e8e Cli-Fyi<\/a>[1]<\/span> \u7684\u6307\u5357 - \u4e00\u4e2a\u53ef\u80fd\u6709\u7528\u7684\u547d\u4ee4\u884c\u67e5\u8be2\u5de5\u5177\u3002\u4f7f\u7528 Cli-Fyi\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u4e86\u89e3\u52a0\u5bc6\u8d27\u5e01\u7684\u6700\u65b0\u4ef7\u683c\u548c\u8bb8\u591a\u5176\u4ed6\u6709\u7528\u7684\u7ec6\u8282\u3002\u4eca\u5929\uff0c\u6211\u4eec\u5c06\u770b\u5230\u53e6\u4e00\u4e2a\u540d\u4e3a \u201cCoinmon\u201d \u7684\u52a0\u5bc6\u8d27\u5e01\u4ef7\u683c\u67e5\u770b\u5de5\u5177\u3002\u4e0d\u50cf Cli.Fyi\uff0cCoinmon \u53ea\u80fd\u7528\u6765\u67e5\u770b\u4e0d\u540c\u52a0\u5bc6\u8d27\u5e01\u7684\u4ef7\u683c\u3002\u6ca1\u6709\u5176\u4ed6\u529f\u80fd\uff01Coinmon \u4f1a\u5728\u7ec8\u7aef\u4e0a\u68c0\u67e5\u52a0\u5bc6\u8d27\u5e01\u7684\u4ef7\u683c\u3002\u5b83\u5c06\u4ece coinmarketcap.com<\/a>[2]<\/span> API \u83b7\u53d6\u6240\u6709\u8be6\u7ec6\u4fe1\u606f\u3002\u5bf9\u4e8e\u90a3\u4e9b \u52a0\u5bc6\u8d27\u5e01\u6295\u8d44\u8005<\/strong>\u548c\u5de5\u7a0b\u5e08<\/strong>\u6765\u8bf4\u662f\u975e\u5e38\u6709\u7528\u7684\u3002 \u786e\u4fdd\u4f60\u7684\u7cfb\u7edf\u4e0a\u5b89\u88c5\u4e86 Node.js \u548c Npm\u3002\u5982\u679c\u4f60\u7684\u673a\u5668\u4e0a\u6ca1\u6709\u5b89\u88c5 Node.js \u548c\/\u6216 npm\uff0c\u8bf7\u53c2\u8003\u4ee5\u4e0b\u94fe\u63a5\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n \u5b89\u88c5\u5b8c Node.js \u548c Npm \u540e\uff0c\u4ece\u7ec8\u7aef\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5 Coinmon\u3002<\/p>\n \u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u5e02\u503c\u6392\u540d\u7684\u524d 10 \u4f4d\u7684\u52a0\u5bc6\u8d27\u5e01\uff1a<\/p>\n \u793a\u4f8b\u8f93\u51fa\uff1a<\/p>\n <\/p>\n \u5982\u6211\u6240\u8bf4\uff0c\u5982\u679c\u4f60\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u8fd0\u884c Coinmon\uff0c\u5b83\u5c06\u663e\u793a\u524d 10 \u4f4d\u52a0\u5bc6\u8d27\u5e01\u3002\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528 -t<\/span> \u6807\u5fd7\u67e5\u770b\u6700\u9ad8\u7684 n \u4f4d\u52a0\u5bc6\u8d27\u5e01\uff0c\u4f8b\u5982 20\u3002<\/p>\n \u6240\u6709\u4ef7\u683c\u9ed8\u8ba4\u4ee5\u7f8e\u5143\u663e\u793a\u3002\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528 -c<\/span> \u6807\u5fd7\u5c06\u4ef7\u683c\u4ece\u7f8e\u5143\u8f6c\u6362\u4e3a\u53e6\u4e00\u79cd\u8d27\u5e01\u3002<\/p>\n \u4f8b\u5982\uff0c\u8981\u5c06\u4ef7\u683c\u8f6c\u6362\u4e3a INR\uff08\u5370\u5ea6\u5362\u6bd4\uff09\uff0c\u8fd0\u884c\uff1a<\/p>\n <\/p>\n \u76ee\u524d\uff0cCoinmon \u652f\u6301 AUD\u3001BRL\u3001CAD\u3001CHF\u3001CLP\u3001CNY\u3001CZK\u3001DKK\u3001EUR\u3001GBP\u3001HKD\u3001HUF\u3001IDR\u3001ILS\u3001INR\u3001JPY\u3001KRW\u3001MXN\u3001MYR\u3001NOK\u3001NZD\u3001PHP\u3001PKR\u3001PLN\u3001RUB\u3001SEK\u3001SGD\u3001THB\u3001TRY\u3001TWD\u3001ZAR \u8fd9\u4e9b\u8d27\u5e01\u3002<\/p>\n \u4e5f\u53ef\u4ee5\u4f7f\u7528\u52a0\u5bc6\u8d27\u5e01\u7684\u7b26\u53f7\u6765\u641c\u7d22\u4ef7\u683c\u3002<\/p>\n \u8fd9\u91cc\uff0cbtc<\/span> \u662f\u6bd4\u7279\u5e01\u7684\u7b26\u53f7\u3002\u4f60\u53ef\u4ee5\u5728\u8fd9\u91cc<\/strong><\/a>[3]<\/span>\u67e5\u770b\u6240\u6709\u53ef\u7528\u7684\u52a0\u5bc6\u8d27\u5e01\u7684\u7b26\u53f7\u3002<\/p>\n \u6709\u5173\u66f4\u591a\u8be6\u60c5\uff0c\u8bf7\u53c2\u9605 coinmon \u7684\u5e2e\u52a9\u90e8\u5206\uff1a<\/p>\n via: https:\/\/www.ostechnix.com\/coinmon-check-cryptocurrency-prices-commandline\/<\/a><\/p>\n \u4f5c\u8005\uff1aSK<\/a>[4]<\/span> \u8bd1\u8005\uff1ageekpi<\/a>[5]<\/span> \u6821\u5bf9\uff1awxy<\/a>[6]<\/span><\/p>\n \u672c\u6587\u7531 LCTT<\/a>[7]<\/span> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a>[8]<\/span> \u8363\u8a89\u63a8\u51fa<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9297-1.html<\/a><\/p>\n
\n<\/p>\nsudo npm install -g coinmon\r\n<\/pre>\n
coinmon\r\n<\/pre>\n
coinmon -t 20\r\n<\/pre>\n
coinmon -c inr\r\n<\/pre>\n
coinmon -f btc\r\n<\/pre>\n
$ coinmon -h\r\n\r\nUsage: coinmon [options]\r\n\r\nOptions:\r\n\r\n -V, --version output the version number\r\n -c, --convert [currency] Convert to your fiat currency (default: usd)\r\n -f, --find [symbol] Find specific coin data with coin symbol (can be a comma seperated list) (default: )\r\n -t, --top [index] Show the top coins ranked from 1 - [index] according to the market cap (default: null)\r\n -H, --humanize [enable] Show market cap as a humanized number, default true (default: true)\r\n -h, --help output usage information\r\n<\/pre>\n
\n\n