{"id":19952245,"url":"https://github.com/diewland/line-richmenu-api","last_synced_at":"2026-06-02T21:32:42.090Z","repository":{"id":50161723,"uuid":"122590302","full_name":"diewland/line-richmenu-api","owner":"diewland","description":"create LINE rich-menu from API","archived":false,"fork":false,"pushed_at":"2022-12-08T00:53:06.000Z","size":339,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T17:43:44.055Z","etag":null,"topics":["api","line","python","richmenu"],"latest_commit_sha":null,"homepage":null,"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/diewland.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":"2018-02-23T07:56:04.000Z","updated_at":"2024-07-22T08:05:23.000Z","dependencies_parsed_at":"2023-01-24T01:30:34.761Z","dependency_job_id":null,"html_url":"https://github.com/diewland/line-richmenu-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diewland/line-richmenu-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fline-richmenu-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fline-richmenu-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fline-richmenu-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fline-richmenu-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diewland","download_url":"https://codeload.github.com/diewland/line-richmenu-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diewland%2Fline-richmenu-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33838216,"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-02T02:00:07.132Z","response_time":109,"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","line","python","richmenu"],"created_at":"2024-11-13T01:12:17.864Z","updated_at":"2026-06-02T21:32:42.060Z","avatar_url":"https://github.com/diewland.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LINE Richmenu API\ncreate LINE rich-menu from API\n\n### Example\n```python\nimport os\nfrom pprint import pprint as pp\n\n# init api\naccess_token = os.environ.get('LINE_ACCESS_TOKEN')\napi = LINERichmenuAPI(access_token)\n\n# sample user_id, menu config\nuser_id = '-----\u003cLINE-USER-ID\u003e-----'\nconfig = {\n    \"size\": {\n      \"width\": 2500,\n      \"height\": 1686\n    },\n    \"selected\": False,\n    \"name\": \"Nice richmenu\",\n    \"chatBarText\": \"Tap here\",\n    \"areas\": [\n      {\n        \"bounds\": {\n          \"x\": 0,\n          \"y\": 0,\n          \"width\": 2500,\n          \"height\": 1686\n        },\n        \"action\": {\n          \"type\":\"message\",\n          \"text\":\"Welcome rich-menu!\"\n        }\n      }\n    ]\n}\n\n# setup menu ( first time only )\napi.remove_all_menus(True)\nresp = api.create_menu(config, './sample.png')\nmenu_id = resp['richMenuId']\n\n# link/unlink menu (per user) as much as you want\napi.unlink_user_menu(user_id)\napi.link_user_menu(user_id, menu_id)\n\n# view script result\npp(api.list_menus())\n```\n### Reference(s)\nhttps://developers.line.me/en/docs/messaging-api/using-rich-menus/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiewland%2Fline-richmenu-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiewland%2Fline-richmenu-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiewland%2Fline-richmenu-api/lists"}