{"id":21406727,"url":"https://github.com/ringcentral/ringcentral-pubnub-java","last_synced_at":"2025-10-16T05:17:04.913Z","repository":{"id":142317917,"uuid":"190105498","full_name":"ringcentral/ringcentral-pubnub-java","owner":"ringcentral","description":"RingCentral PubNub SDK for Java","archived":false,"fork":false,"pushed_at":"2023-06-05T23:04:13.000Z","size":139,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T20:42:41.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/ringcentral.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":"2019-06-04T01:10:23.000Z","updated_at":"2024-06-12T02:33:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8a629c1-f096-4170-a551-9b86fc819772","html_url":"https://github.com/ringcentral/ringcentral-pubnub-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ringcentral/ringcentral-pubnub-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-pubnub-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-pubnub-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-pubnub-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-pubnub-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringcentral","download_url":"https://codeload.github.com/ringcentral/ringcentral-pubnub-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fringcentral-pubnub-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265227898,"owners_count":23731059,"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":[],"created_at":"2024-11-22T16:42:09.341Z","updated_at":"2025-10-16T05:16:59.870Z","avatar_url":"https://github.com/ringcentral.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RingCentral PubNub SDK for Java\n\nThis project is an extension of the [RingCentral SDK for Java](https://github.com/ringcentral/ringcentral-java) project.\n\n\n## Getting help and support\n\nIf you are having difficulty using this SDK, or working with the RingCentral API, please visit our [developer community forums](https://community.ringcentral.com/spaces/144/) for help and to get quick answers to your questions. If you wish to contact the RingCentral Developer Support team directly, please [submit a help ticket](https://developers.ringcentral.com/support/create-case) from our developer website.\n\n\n## Installation\n\nThis SDK is tested against JDK 11 so we recommend using the same. Earlier versions such as Java 8 should work as well, please report issues if you encounter any.\n\n### Gradle\n\n```groovy\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'com.ringcentral:ringcentral-pubnub:[version]'\n}\n```\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.ringcentral\u003c/groupId\u003e\n  \u003cartifactId\u003eringcentral-pubnub\u003c/artifactId\u003e\n  \u003cversion\u003e[version]\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nDon't forget to replace `[version]` with the expected version. You can find the latest versions in [Maven Central](https://central.sonatype.com/search?q=ringcentral-pubnub).\n\n\n## Usage\n\n### Subscription \u0026 notification\n\n```java\nRestClient rc = new RestClient(clientId, clientSecret, server);\nrc.authorize(username, extension, password);\n\nSubscription subscription = new Subscription(rc,\n    new String[]{\n        \"/restapi/v1.0/glip/posts\",\n        \"/restapi/v1.0/account/~/extension/~/message-store\",\n        // more event filters here\n    },\n    (message) -\u003e {\n        // do something with message\n    });\nsubscription.subscribe();\n```\n\n\n#### Deserialize notification message\n\nThe notification `message` you get is a Java `String`. If you know the message body type, you can deserialize it like this:\n\n```java\ncom.ringcentral.Utils.gson.fromJson(message, InstanceMessageEvent.class);\n```\n\n\n## For maintainers\n\n\n### Test\n\n```\n./gradlew test\n```\n\n### Release\n\nUpdate the version number in `build.gradle`.\n\n```\n./gradlew publish\n```\n\nGo to https://s01.oss.sonatype.org/#stagingRepositories\n\nLogin, \"Close\" and \"Release\" the SDK.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fringcentral-pubnub-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringcentral%2Fringcentral-pubnub-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fringcentral-pubnub-java/lists"}