{"id":18941999,"url":"https://github.com/lucidfrontier45/yfscraper","last_synced_at":"2025-08-14T11:35:05.651Z","repository":{"id":62590616,"uuid":"85483559","full_name":"lucidfrontier45/yfscraper","owner":"lucidfrontier45","description":"Yahoo Finance (JP) Scraper","archived":false,"fork":false,"pushed_at":"2017-03-28T09:11:13.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T02:09:53.836Z","etag":null,"topics":["finance","python","scraping","web"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucidfrontier45.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-19T14:44:45.000Z","updated_at":"2019-09-24T01:48:52.000Z","dependencies_parsed_at":"2022-11-03T22:47:20.031Z","dependency_job_id":null,"html_url":"https://github.com/lucidfrontier45/yfscraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidfrontier45%2Fyfscraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidfrontier45%2Fyfscraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidfrontier45%2Fyfscraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucidfrontier45%2Fyfscraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucidfrontier45","download_url":"https://codeload.github.com/lucidfrontier45/yfscraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239942759,"owners_count":19722330,"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","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":["finance","python","scraping","web"],"created_at":"2024-11-08T12:30:47.438Z","updated_at":"2025-02-21T01:42:01.230Z","avatar_url":"https://github.com/lucidfrontier45.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yfscraper\nYahoo Finance (JP) Scraper\n\n## install\n\n```bash\npip install yfscraper\n```\n\n## usage\n\n`get_data` is the entrypoint API. You need to pass `tick_id`, `start_dt`, `end_dt`. You can optionally pass valid BeautifulSoup4 `html_parser`.\n\n```python\ndef get_data(tick_id: str,\n             start_dt: datetime.date,\n             end_dt: datetime.date,\n             html_parser=\"html.parser\"):\n```\n\n### example\n\n```python\nimport datetime\nfrom yfscraper import get_data\n\ntick_id = 998405\nstart_dt = datetime.date(2017, 1, 1)\nend_dt = datetime.date(2017, 2, 1)\nresp = get_data(tick_id, start_dt, end_dt)\n\nfor data in resp:\n    print(data)\n```\n\nThis will output the following\n\n```python\n{'low_v': 1508.21, 'close_v': 1527.77, 'open_v': 1511.26, 'high_v': 1528.59, 'date': datetime.date(2017, 2, 1)}\n{'low_v': 1520.95, 'close_v': 1521.67, 'open_v': 1526.06, 'high_v': 1533.04, 'date': datetime.date(2017, 1, 31)}\n{'low_v': 1535.97, 'close_v': 1543.77, 'open_v': 1542.62, 'high_v': 1543.99, 'date': datetime.date(2017, 1, 30)}\n{'low_v': 1545.45, 'close_v': 1549.25, 'open_v': 1551.58, 'high_v': 1553.28, 'date': datetime.date(2017, 1, 27)}\n{'low_v': 1535.25, 'close_v': 1545.01, 'open_v': 1536.6, 'high_v': 1546.08, 'date': datetime.date(2017, 1, 26)}\n```\n\n## compatibility\n\nThis package is tested for python 3.5 or later but should be work on python 3.4 with `typing` package installed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucidfrontier45%2Fyfscraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucidfrontier45%2Fyfscraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucidfrontier45%2Fyfscraper/lists"}