{"id":27435282,"url":"https://github.com/camelmasa/line-social","last_synced_at":"2025-09-01T08:08:44.608Z","repository":{"id":56881274,"uuid":"180149022","full_name":"camelmasa/line-social","owner":"camelmasa","description":"Ruby client for LINE Social API","archived":false,"fork":false,"pushed_at":"2019-04-25T16:41:47.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-01T06:05:08.963Z","etag":null,"topics":["gem","line","ruby"],"latest_commit_sha":null,"homepage":"https://developers.line.biz/en/reference/social-api/","language":"Ruby","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/camelmasa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-08T12:55:49.000Z","updated_at":"2019-04-25T16:38:22.000Z","dependencies_parsed_at":"2022-08-20T22:31:21.970Z","dependency_job_id":null,"html_url":"https://github.com/camelmasa/line-social","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/camelmasa/line-social","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camelmasa%2Fline-social","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camelmasa%2Fline-social/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camelmasa%2Fline-social/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camelmasa%2Fline-social/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camelmasa","download_url":"https://codeload.github.com/camelmasa/line-social/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camelmasa%2Fline-social/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273093418,"owners_count":25044437,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"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":["gem","line","ruby"],"created_at":"2025-04-14T18:49:13.257Z","updated_at":"2025-09-01T08:08:44.579Z","avatar_url":"https://github.com/camelmasa.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Line::Social\n\n[![Build Status](https://travis-ci.org/camelmasa/line-social.png)](https://travis-ci.org/camelmasa/line-social)\n[![Maintainability](https://api.codeclimate.com/v1/badges/c74659829afe420dd9e0/maintainability)](https://codeclimate.com/github/camelmasa/line-social/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/c74659829afe420dd9e0/test_coverage)](https://codeclimate.com/github/camelmasa/line-social/test_coverage)\n\nRuby client for [LINE Social API](https://developers.line.biz/en/reference/social-api/).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'line-social'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install line-social\n\n## Usage\n\n```ruby\nrequire \"line/social\"\nclient = Line::Social::Client.new\n\n\n# Oauth\n\n## issue\noauth_client = client.oauth(client_id: \"YOUR_CLIENT_ID\", client_secret: \"YOUR_CLIENT_SECRET\")\noauth = oauth_client.issue(code: \"YOUR_CODE\", redirect_uri: \"YOUR_REDIRECT_URI\")\n\n## verify\noauth_client.verify(oauth.access_token) # or oauth.verify!\n\n## refresh\noauth_client.refresh(oauth.refresh_token) # or oauth.refresh!\n\n## revoke\noauth_client.revoke(oauth.access_token) # or oauth.revoke!\n\n\n# Friendship\n\n## get\nclient.friendship.get(oauth.access_token)\n\n\n# Profile\n\n## get\nclient.profile.get(oauth.access_token)\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/camelmasa/line-social.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamelmasa%2Fline-social","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamelmasa%2Fline-social","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamelmasa%2Fline-social/lists"}