{"id":19520511,"url":"https://github.com/casl0/pokemon_translation","last_synced_at":"2026-06-13T08:32:38.869Z","repository":{"id":134976929,"uuid":"586892540","full_name":"CASL0/pokemon_translation","owner":"CASL0","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-05T07:11:06.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-13T08:32:37.088Z","etag":null,"topics":["beautifulsoup","pokemon","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CASL0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-01-09T13:32:55.000Z","updated_at":"2023-01-21T11:41:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b2022bf-4b3f-44f4-9cd5-c6c56da9e1cd","html_url":"https://github.com/CASL0/pokemon_translation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CASL0/pokemon_translation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fpokemon_translation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fpokemon_translation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fpokemon_translation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fpokemon_translation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CASL0","download_url":"https://codeload.github.com/CASL0/pokemon_translation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CASL0%2Fpokemon_translation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34278153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":["beautifulsoup","pokemon","python"],"created_at":"2024-11-11T00:25:56.159Z","updated_at":"2026-06-13T08:32:38.847Z","avatar_url":"https://github.com/CASL0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ポケモン翻訳テーブル\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![License](https://black.readthedocs.io/en/stable/_static/license.svg)](LICENSE.md)\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/CASL0/pokemon_translation)\n\n[ポケモンの外国語名一覧](http://wiki.xn--rckteqa2e.com/wiki/%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3%E3%81%AE%E5%A4%96%E5%9B%BD%E8%AA%9E%E5%90%8D%E4%B8%80%E8%A6%A7)から、外国語名の対応一覧の API サーバーです\n\n## 使い方\n\n### 事前準備\n\nCSV 配置先の S3 バケット及び同 S3 へアクセス可能な IAM ユーザーを作成してください。\n\nIAM ユーザーには以下のように`PutObject`、`GetObject`が許可されているポリシーをアタッチしてください。\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"VisualEditor0\",\n      \"Effect\": \"Allow\",\n      \"Action\": [\"s3:PutObject\", \"s3:GetObject\"],\n      \"Resource\": \"\u003cバケットのARN\u003e/*\"\n    }\n  ]\n}\n```\n\n作成した S3 のアクセス情報を[.env](.env)に反映してください。\n\n### サーバー起動\n\n`docker-compose up`を実行すると、localhost の 5000 番ポートに Flask をホスティングします。\n\n`http://localhost:5000/v1/translation/{ポケモン名}`を GET することで同ポケモンの翻訳情報を取得できます。\n\n例：メタモンの翻訳情報を取得する\n\nリクエスト：`http://localhost:5000/v1/translation/Ditto`\n\nレスポンス：\n\n```json\n{\n  \"chs\": \"百变怪\",\n  \"cht\": \"百變怪\",\n  \"deu\": \"Ditto\",\n  \"eng\": \"Ditto\",\n  \"fra\": \"Metamorph\",\n  \"id\": \"132\",\n  \"jpn\": \"メタモン\",\n  \"kor\": \"메타몽\"\n}\n```\n\n上記のリクエストパラメーターで`Ditto`と指定した個所を`メタモン`としても同じ結果が得られます。\n\nポケモン名に指定可能な言語は[対応言語](#対応言語)をご確認ください。\n\n## 対応言語\n\n次の言語に対応しています。\n\n- 日本語\n- 英語\n- ドイツ語\n- フランス語\n- 韓国語\n- 中国語（簡）\n- 中国語（繁）\n\n## 開発\n\n### ビルド環境\n\n[Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)の使用を推奨します。\n\n- python 3.8+\n- beautifulsoup4\n  - Wiki スクレイピングに使用します。\n- boto3\n  - S3 への CSV アップロード、S3 Select に使用します。\n- Flask\n  - API サーバーとして使用します。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasl0%2Fpokemon_translation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasl0%2Fpokemon_translation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasl0%2Fpokemon_translation/lists"}