{"id":25097233,"url":"https://github.com/messagemedia/lookups-ruby-sdk","last_synced_at":"2025-07-30T10:41:08.789Z","repository":{"id":56883355,"uuid":"119460224","full_name":"messagemedia/lookups-ruby-sdk","owner":"messagemedia","description":"MessageMedia Ruby SDK for phone number lookups","archived":false,"fork":false,"pushed_at":"2021-01-20T12:40:55.000Z","size":64,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T13:38:06.492Z","etag":null,"topics":["messagemedia","messaging","ruby","sms","sms-api","sms-client","sms-gateway"],"latest_commit_sha":null,"homepage":"https://developers.messagemedia.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/messagemedia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-30T00:33:31.000Z","updated_at":"2021-01-20T12:40:58.000Z","dependencies_parsed_at":"2022-08-20T13:10:52.230Z","dependency_job_id":null,"html_url":"https://github.com/messagemedia/lookups-ruby-sdk","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/messagemedia/lookups-ruby-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagemedia%2Flookups-ruby-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagemedia%2Flookups-ruby-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagemedia%2Flookups-ruby-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagemedia%2Flookups-ruby-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/messagemedia","download_url":"https://codeload.github.com/messagemedia/lookups-ruby-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messagemedia%2Flookups-ruby-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267456637,"owners_count":24090201,"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-07-28T02:00:09.689Z","response_time":68,"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":["messagemedia","messaging","ruby","sms","sms-api","sms-client","sms-gateway"],"created_at":"2025-02-07T17:30:49.652Z","updated_at":"2025-07-30T10:41:08.724Z","avatar_url":"https://github.com/messagemedia.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MessageMedia Lookups Ruby SDK\n[![Build Status](https://travis-ci.org/messagemedia/lookups-ruby-sdk.svg?branch=master)](https://travis-ci.org/messagemedia/lookups-ruby-sdk)\n[![Pull Requests Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com)\n[![Gem Version](https://badge.fury.io/rb/messagemedia_lookups_sdk.svg)](https://badge.fury.io/rb/messagemedia_lookups_sdk)\n\nThe MessageMedia Lookups API provides a number of endpoints for validating the phone numbers you’re sending to by checking their validity, type and carrier records.\n\n![Isometric](https://developers.messagemedia.com/wp-content/uploads/2017/11/lookups-api.png)\n\n## Table of Contents\n* [Authentication](#closed_lock_with_key-authentication)\n* [Errors](#interrobang-errors)\n* [Information](#newspaper-information)\n  * [Slack and Mailing List](#slack-and-mailing-list)\n  * [Bug Reports](#bug-reports)\n  * [Contributing](#contributing)\n* [Installation](#star-installation)\n* [Get Started](#clapper-get-started)\n* [API Documentation](#closed_book-api-documentation)\n* [Need help?](#confused-need-help)\n* [License](#page_with_curl-license)\n\n## :closed_lock_with_key: Authentication\n\nAuthentication is done via API keys. Sign up at https://developers.messagemedia.com/register/ to get your API keys.\n\nRequests are authenticated using HTTP Basic Auth or HMAC. Provide your API key as the auth_user_name and API secret as the auth_password.\n\n## :interrobang: Errors\n\nOur API returns standard HTTP success or error status codes. For errors, we will also include extra information about what went wrong encoded in the response as JSON. The most common status codes are listed below.\n\n#### HTTP Status Codes\n\n| Code      | Title       | Description |\n|-----------|-------------|-------------|\n| 400 | Invalid Request | The request was invalid |\n| 401 | Unauthorized | Your API credentials are invalid |\n| 403 | Disabled feature | Feature not enabled |\n| 404 | Not Found |\tThe resource does not exist |\n| 50X | Internal Server Error | An error occurred with our API |\n\n## :newspaper: Information\n\n#### Slack and Mailing List\n\nIf you have any questions, comments, or concerns, please join our Slack channel:\nhttps://developers.messagemedia.com/collaborate/slack/\n\nAlternatively you can email us at:\ndevelopers@messagemedia.com\n\n#### Bug reports\n\nIf you discover a problem with the SDK, we would like to know about it. You can raise an [issue](https://github.com/messagemedia/signingkeys-nodejs-sdk/issues) or send an email to: developers@messagemedia.com\n\n#### Contributing\n\nWe welcome your thoughts on how we could best provide you with SDKs that would simplify how you consume our services in your application. You can fork and create pull requests for any features you would like to see or raise an [issue](https://github.com/messagemedia/signingkeys-nodejs-sdk/issues)\n\n\n## :star: Installation\nRun the following command to install the SDK via RubyGems: \n```\ngem install messagemedia_lookups\n```\n\n## :clapper: Get Started\nIt's easy to get started. Simply enter the API Key and secret you obtained from the [MessageMedia Developers Portal](https://developers.messagemedia.com) into the code snippet below and a mobile number you wish to send to.\n\n### Lookup a number\n```ruby\nrequire 'message_media_lookups'\n\n# Configuration parameters and credentials\nauth_user_name = 'YOUR_API_KEY' # The username to use with basic/HMAC authentication\nauth_password = 'YOUR_SECRET_KEY' # The password to use with basic/HMAC authentication\nuse_hmac = false # Change this to true if you are using HMAC keys\n\nclient = MessageMediaLookups::MessageMediaLookupsClient.new(\n  auth_user_name: auth_user_name,\n  auth_password: auth_password,\n  use_hmac: use_hmac\n)\n\nlookups_controller = client.lookups\n\nphone_number = 'YOUR_MOBILE_NUMBER'\noptions = 'carrier,type'\n\nresult = lookups_controller.get_lookup_a_phone_number(phone_number, options)\nprint result.inspect\n```\n\n## :closed_book: API Reference Documentation\nCheck out the [full API documentation](https://developers.messagemedia.com/code/lookups-api-documentation/) for more detailed information.\n\n## :confused: Need help?\nPlease contact developer support at developers@messagemedia.com or check out the developer portal at [developers.messagemedia.com](https://developers.messagemedia.com/)\n\n## :page_with_curl: License\nApache License. See the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessagemedia%2Flookups-ruby-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmessagemedia%2Flookups-ruby-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmessagemedia%2Flookups-ruby-sdk/lists"}