
gadicc/yahoo-finance2
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
gadicc/yahoo-finance2は、[[T0]からインポートされたエージェントスキル候補です。
概要
gadicc/yahoo-finance2は、[[T0]からインポートされたエージェントスキル候補です。
概要(AI 翻訳)
Yahoo Financeの非公式API(CLI、MCP、Agent Skill付き)。
著作権© 2021 ガディ・コーエンとピルウォン・フ。MITライセンス。
あなたはv4のドキュメントを読んでいます。これは現在公開されているメジャーバージョンです。
yahoo-finance2@latest。古いv3ドキュメントについては、クリックしてください
はい。アップグレード?ほら
アップグレード。
CodeSandboxでのライブデモ(更新済み) 2024-06-17;NextJSのRSCとフックリレーの例の両方)
注:最近、リポジトリの名前が変更されました。node-yahoo-finance2から
yahoo-finance2、そして以下の分岐が命名されました、masterからmainまで。
およびdevelからdevまで。詳細はUPGRADING.md#devを参照してください。
ローカルインストールを更新するためのgitコマンド。
サポートされたランタイム:
- Bun: v1+。
- Cloudflare:Workers Vitestを経由CIでテストされた最新のリリース
nodejs_compat。 - Deno: v2+。
- Node:v22+;v22は2027年4月30日まで、v24は2028年4月30日まで。対応リリース Node.jsのリリーススケジュールに従ってください。
非公式API
このプロジェクトはYahoo社によって作成も支持もされていません。Yahooはそうではありません。 開発者に公式APIを提供し、また以下の保証を行いません。 サービスの可用性やAPIの整合性について。しかし実際には、オープンソースは
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
yahoo-finance2
Unofficial API for Yahoo Finance with CLI, MCP and Agent Skill.
Copyright © 2021 by Gadi Cohen and Pilwon Huh. MIT licensed.
You are reading the docs for v4, the current major version published as
yahoo-finance2@latest. For the older v3 docs, click
here. Upgrading? See
UPGRADING.
Live Demo on CodeSandbox (Updated 2024-06-17; NextJS with both RSC and Hook-Relay examples)
NB: Recently the repo was renamed from node-yahoo-finance2 to
yahoo-finance2, and the following branches were named, master to main,
and devel to dev. See UPGRADING.md#dev for the
git commands to update your local installation.
Supported runtimes:
- Bun: v1+.
- Cloudflare: Modern releases, tested in CI via Workers Vitest under
nodejs_compat. - Deno: v2+.
- Node: v22+; v22 until 2027-04-30, v24 until 2028-04-30. Supported releases follow the Node.js release schedule.
Unofficial API
This project is neither created nor endorsed by Yahoo Inc. Yahoo does not provide any official API to developers, nor makes any guarantees regarding service availability or API consistency. In practice however, the open source community has kept this project (and it’s predecessor) working well since 2013.
Nevertheless, we make no guarantees and you use this package at your own risk. The developers (and obviously Yahoo) cannot be held responsible for any losses you may incur as a result of using this service. Use of this package is considered acknowledgement and acceptance of these terms and of its license.
Quickstart
CLI (Command line interface)
$ npx yahoo-finance2 --help
$ npx yahoo-finance2 search AMZN
$ npx yahoo-finance2 quoteSummary GOOGL
$ npx yahoo-finance2 quoteSummary NVDA '{"modules":["assetProfile", "secFilings"]}'
# or install it
$ npm install -g yahoo-finance2
$ yahoo-finance search MSFT '{ "someOption": true }'
See the CLI docs for stdout/stderr behavior and exit codes.
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add gadicc/yahoo-finance2