{"id":26530215,"url":"https://github.com/nutfes/nutfes-shift-tool-2019","last_synced_at":"2025-03-21T17:40:20.428Z","repository":{"id":40981587,"uuid":"198414419","full_name":"NUTFes/nutfes-shift-tool-2019","owner":"NUTFes","description":"シフト作成支援ツール．出欠アンケートから欠席情報を読み取って，シフトスプレッドシートの該当箇所を×で埋める．","archived":false,"fork":false,"pushed_at":"2022-12-08T02:33:44.000Z","size":17,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T09:29:19.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/NUTFes.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}},"created_at":"2019-07-23T11:11:57.000Z","updated_at":"2019-10-06T20:13:40.000Z","dependencies_parsed_at":"2023-01-24T06:00:10.371Z","dependency_job_id":null,"html_url":"https://github.com/NUTFes/nutfes-shift-tool-2019","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/NUTFes%2Fnutfes-shift-tool-2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NUTFes%2Fnutfes-shift-tool-2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NUTFes%2Fnutfes-shift-tool-2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NUTFes%2Fnutfes-shift-tool-2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NUTFes","download_url":"https://codeload.github.com/NUTFes/nutfes-shift-tool-2019/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244842257,"owners_count":20519589,"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":[],"created_at":"2025-03-21T17:40:19.764Z","updated_at":"2025-03-21T17:40:20.408Z","avatar_url":"https://github.com/NUTFes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setup\n\n**実行環境**  \n- python3.6\n\n**cloneとライブラリのインストール**  \n```bash\n$ git clone git@github.com:NUTFes/nutfes-shift-tool-2019.git\n$ cd nutfes-shift-tool-2019\n$ pip install -r requirements.txt\n```\n\n**Sheets APIの承認情報を取得**  \n参考：[PythonとSheets API v4でGoogleスプレッドシートを読み書きする - kumilog.net](https://www.kumilog.net/entry/2018/03/22/090000)  \n上記記事を参考に，Sheets APIを有効化し，承認情報を作成する．  \n作成してダウンロードした`client_secret_XXX.json`を`client_secret.json`にリネームし，`nutfes-shift-tool-2019`ディレクトリにコピーする．  \n\n**アカウント承認**  \n```bash\n$ python spreadsheet_api.py\n```\n\nこれを実行するとブラウザが開き，Googleアカウントログイン画面が表示されるので，技大祭googleアカウントでログインする．  \n使用を承認すると，今のディレクトリに`.credentials`ディレクトリが作成される．  \nGoogleAPIを使用するには，`client_secret.json`と`./credentials`の2つが必要になる．  \n\n**設定ファイルの作成**  \n設定ファイルのテンプレをコピーする．  \n\n```bash\n$ cp config_exsample.py config.py\n```\n\n`config.py`に必要な情報を埋める．\n\n\n**起動**  \n```bash\n$ python app.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnutfes%2Fnutfes-shift-tool-2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnutfes%2Fnutfes-shift-tool-2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnutfes%2Fnutfes-shift-tool-2019/lists"}