{"id":18237443,"url":"https://github.com/otoneko1102/google-finance-quote","last_synced_at":"2025-09-01T03:06:48.341Z","repository":{"id":259183656,"uuid":"876601410","full_name":"otoneko1102/google-finance-quote","owner":"otoneko1102","description":"Node Google Finance API wrapper for free. No API key is required!","archived":false,"fork":false,"pushed_at":"2025-08-08T21:51:08.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T23:33:25.173Z","etag":null,"topics":["api","exchange","finance","free","google","nodejs","npm","package","quote","rate"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/google-finance-quote","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/otoneko1102.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-22T08:47:38.000Z","updated_at":"2025-08-08T21:51:11.000Z","dependencies_parsed_at":"2024-10-23T10:05:53.825Z","dependency_job_id":"a615e070-be80-4f3a-b2f0-4c1481f2363e","html_url":"https://github.com/otoneko1102/google-finance-quote","commit_stats":null,"previous_names":["otoneko1102/google-finance-quote"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/otoneko1102/google-finance-quote","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoneko1102%2Fgoogle-finance-quote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoneko1102%2Fgoogle-finance-quote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoneko1102%2Fgoogle-finance-quote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoneko1102%2Fgoogle-finance-quote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otoneko1102","download_url":"https://codeload.github.com/otoneko1102/google-finance-quote/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoneko1102%2Fgoogle-finance-quote/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273068846,"owners_count":25039911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","exchange","finance","free","google","nodejs","npm","package","quote","rate"],"created_at":"2024-11-05T02:04:30.753Z","updated_at":"2025-09-01T03:06:48.332Z","avatar_url":"https://github.com/otoneko1102.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# google-finance-quote\n\nNode Google Finance API wrapper for free.\nNo API key is required!\n\u003e Note: This results may vary by up to 20 minutes.  \n\u003e Note: `3.0.0 \u003c= x` doesn't support proxies.\n\n## Usage\n\n### Get Started\n\n```js\nconst { Finance, symbols, currencyCodesSymbols, cryptoCurrencyCodesSymbols } = require(\"google-finance-quote\");\n\nconsole.log(symbols); // Returns available symbols.\nconsole.log(currencyCodesSymbols); // Returns available currency codes symbols.\nconsole.log(cryptoCurrencyCodesSymbols); // Returns available crypto currency codes symbols.\n\nconst finance = new Finance(); // You can use this: new Finance({ from 'USD', to: 'JPY' });\n\nfinance\n  .setFrom('USD');\n  .setTo('JPY');\n\n(async () =\u003e {\n  console.log(await finance.quote()); // { success: true, rate: 150.94225699999998 }\n})();\n```\n\n### Class\n\n- **Finance({ from?: string, to?: string })**\n\n  - **.setFrom(from: string)**\n  Set the parameter of from.\n  - **.setTo(to: string)**\n  Set the parameter of to.\n  - **.getParam(): object**\n  Returns the current param.\n  - **.quote(amount?: number): Promise\u003c{ success: boolean, rate: number }\u003e**\n  Returns the converted amount based on the exchange rate.\n\n\u003e Note: If the current rate cannot be obtained due to rate limits or network errors, success: false is returned.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotoneko1102%2Fgoogle-finance-quote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotoneko1102%2Fgoogle-finance-quote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotoneko1102%2Fgoogle-finance-quote/lists"}