{"id":29618578,"url":"https://github.com/0x2c6/botdelive-ruby","last_synced_at":"2025-07-21T02:02:11.464Z","repository":{"id":59151511,"uuid":"158927223","full_name":"0x2C6/botdelive-ruby","owner":"0x2C6","description":"A Ruby gem of BotDelive API","archived":false,"fork":false,"pushed_at":"2018-11-24T21:29:23.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-01T05:04:13.545Z","etag":null,"topics":["api","bot","botdelive","botdelive-ruby","chatbox","gem"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/bot_delive","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/0x2C6.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":"2018-11-24T10:55:53.000Z","updated_at":"2018-12-04T17:13:34.000Z","dependencies_parsed_at":"2022-09-14T04:03:59.087Z","dependency_job_id":null,"html_url":"https://github.com/0x2C6/botdelive-ruby","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/0x2C6/botdelive-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fbotdelive-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fbotdelive-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fbotdelive-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fbotdelive-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x2C6","download_url":"https://codeload.github.com/0x2C6/botdelive-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x2C6%2Fbotdelive-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266226984,"owners_count":23895729,"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":["api","bot","botdelive","botdelive-ruby","chatbox","gem"],"created_at":"2025-07-21T02:02:09.416Z","updated_at":"2025-07-21T02:02:11.452Z","avatar_url":"https://github.com/0x2C6.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BotDelive\n\n**BotDelive** is a Push Notification and 2-factor authentication API service that works over the chat bots (Telegram and Messenger).\n\n-------------\n\nRequirements\n-------------\n\n1. [Create an account](https://botdelive.com/login).\n2. Create an app on the dashboard to get appId and secretKey credentials.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'bot_delive'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install bot_delive\n\n## Usage\nLet's require the gem first. Don't forget to define \"app_id\" and \"secret_key\"\n\n```ruby\nrequire 'bot_delive'\n\nBotDelive.configure do |config|\n  config.app_id = 'test_id'\n  config.secret_key = 'test_secret'\nend\n```\n**Verify the \"Access Code\":**\n\n```ruby\n@response = BotDelive.verify(access_code: 'access-code')\nif @response.success?\n  @response.payload.user_id\nend\n```\n\n**Send 2-factor authentication request (long polling):**\n\n```ruby\n@response = BotDelive.auth(user_id: 'user-id')\nif @response.success?\n  @response.payload.respond\nend\n```\n\n**Send Push Notification request:**\n\n```ruby\n@response = BotDelive.push(\n    user_id: 'user-id',\n    message: 'test message from ruby test'\n)\n\nif @response.success?\n  puts \"push notification sent successfully\"\nend\n```\n\nDocumentation\n-------------\n\nComplete documentation available at: [https://botdelive.com/docs](https://botdelive.com/docs)\n\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%2F0x2c6%2Fbotdelive-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x2c6%2Fbotdelive-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x2c6%2Fbotdelive-ruby/lists"}