{"id":23280009,"url":"https://github.com/o-ga09/line-bot-go","last_synced_at":"2025-04-06T13:19:11.163Z","repository":{"id":249892180,"uuid":"832865302","full_name":"o-ga09/line-bot-go","owner":"o-ga09","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-28T03:48:13.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T19:08:52.385Z","etag":null,"topics":["go","line-bot","vecel"],"latest_commit_sha":null,"homepage":"","language":"Go","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/o-ga09.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-07-23T22:06:53.000Z","updated_at":"2024-07-28T03:48:16.000Z","dependencies_parsed_at":"2024-07-28T04:33:44.243Z","dependency_job_id":null,"html_url":"https://github.com/o-ga09/line-bot-go","commit_stats":null,"previous_names":["o-ga09/line-bot-go"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-ga09%2Fline-bot-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-ga09%2Fline-bot-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-ga09%2Fline-bot-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/o-ga09%2Fline-bot-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/o-ga09","download_url":"https://codeload.github.com/o-ga09/line-bot-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485295,"owners_count":20946399,"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":["go","line-bot","vecel"],"created_at":"2024-12-19T23:20:25.813Z","updated_at":"2025-04-06T13:19:11.143Z","avatar_url":"https://github.com/o-ga09.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoでLINE Messaging APIを使用してLINE Botを作成する\n\n## Overview／概要\n\n`line-bot-sdk-go`の`v8`を使用してLINE BotをGoで作成する\n\n## Deploy／デプロイ方法\n\n```\n$ npm i -g vercel\n$ vercel login\n$ vercel --prod\n```\n\n## Test／テスト方法\n\n```\n$ go test ./...\n```\n\n## LINE Messaging APIを使用する\n\n- ユーザー情報取得\n\n```\ncurl --location 'https://api.line.me/v2/bot/profile/[userId]' \\\n--header 'Authorization: Bearer [access token]'\n```\n\n- プッシュ通知\n\n```\ncurl --location 'https://api.line.me/v2/bot/message/push' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer [access token]' \\\n--data '{\n    \"to\": \"[userId]\",\n    \"notificationDisabled\": false,\n    \"messages\": [\n        {\n            \"type\": \"text\",\n            \"text\": \"Hello\"\n        }\n    ]\n}'\n```\n\n## Licence\n\nMIT @o-ga09\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-ga09%2Fline-bot-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo-ga09%2Fline-bot-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-ga09%2Fline-bot-go/lists"}