{"id":15068995,"url":"https://github.com/embloy/embloy-java","last_synced_at":"2026-02-28T05:32:50.560Z","repository":{"id":216873568,"uuid":"742530664","full_name":"Embloy/Embloy-Java","owner":"Embloy","description":"Embloy's Java SDK for interacting with your Embloy integration. ","archived":false,"fork":false,"pushed_at":"2024-06-29T13:57:32.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-01T22:04:46.255Z","etag":null,"topics":["java-11","maven","sdk","sdk-java"],"latest_commit_sha":null,"homepage":"https://central.sonatype.com/artifact/com.embloy/sdk/overview","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Embloy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-12T17:27:56.000Z","updated_at":"2024-06-29T13:57:35.000Z","dependencies_parsed_at":"2024-01-13T10:58:49.305Z","dependency_job_id":"a4edcc0a-f8d0-458a-be4a-be2995c8f3a5","html_url":"https://github.com/Embloy/Embloy-Java","commit_stats":null,"previous_names":["embloy/embloy-java"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Embloy%2FEmbloy-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Embloy%2FEmbloy-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Embloy%2FEmbloy-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Embloy%2FEmbloy-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Embloy","download_url":"https://codeload.github.com/Embloy/Embloy-Java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240043930,"owners_count":19739180,"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":["java-11","maven","sdk","sdk-java"],"created_at":"2024-09-25T01:39:58.786Z","updated_at":"2025-10-07T09:07:47.174Z","avatar_url":"https://github.com/Embloy.png","language":"Java","readme":"# [Embloy Java](https://search.maven.org/artifact/com.embloy/sdk) \u0026middot; [![GitHub license](https://img.shields.io/badge/license-AGPL3.0-blue.svg)](https://github.com/Embloy/Embloy-Java/blob/main/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/com.embloy/sdk.svg?style=flat)](https://search.maven.org/artifact/com.embloy/sdk) [![Issues](https://img.shields.io/github/issues/Embloy/Embloy-Java)](https://github.com/Embloy/Embloy-Java/issues) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Embloy/Embloy-Java/pulls)\n\nEmbloy's Java SDK for interacting with your Embloy integration.\n\n## Usage\n\nAdd Embloy-Java SDK:\n\n```Java title=\"build.gradle\"\n/*\n  For Gradle, add the following dependency to your build.gradle and replace with\n  the version number you want to use from:\n  - https://mvnrepository.com/artifact/com.embloy/sdk or\n  - https://github.com/embloy/embloy-java/releases/latest\n*/\nimplementation \"com.embloy:sdk:0.1.14\"\n```\n\n```Java title=\"build.gradle.kts\"\n/*\n  For Gradle with Kotlin, add the following dependency to your build.gradle.kts and replace with\n  the version number you want to use from:\n  - https://mvnrepository.com/artifact/com.embloy/sdk or\n  - https://github.com/embloy/embloy-java/releases/latest\n*/\nimplementation(\"com.embloy:sdk:0.1.14\")\n```\n\n```XML title=\"pom.xml\"\n\u003c!--\n  For Maven, add the following dependency to your POM and replace with the\n  version number you want to use from:\n  - https://mvnrepository.com/artifact/com.embloy/sdk or\n  - https://github.com/embloy/embloy-java/releases/latest\n--\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.embloy\u003c/groupId\u003e\n  \u003cartifactId\u003esdk\u003c/artifactId\u003e\n  \u003cversion\u003e0.1.14\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIntegrate it in your service:\n\n```Java title=\"main.java\"\nimport embloy.EmbloyClient;\nimport embloy.EmbloySession;\n\npublic class ExampleClass {\n    public static void exampleEndpoint() {\n        // Replace these values with your actual client token and session data\n        String clientToken = \"your-client-token\";\n\n        EmbloySession session = new EmbloySession(EmbloySession.EmbloyRequestMode.JOB_MODE, \"your-job-slug\", \"your-success-url\", \"your-cancel-url\");\n\n        EmbloyClient embloyClient = new EmbloyClient(clientToken, session);\n\n        try {\n            String applyUrl = embloyClient.makeRequest();\n            System.out.println(\"Redirect URL: \" + applyUrl);\n        } catch (Exception e) {\n            System.err.println(\"Error: \" + e.getMessage());\n        }\n    }\n}\n```\n\n## Build package from source ([Reference](https://central.sonatype.org/publish-ea/publish-ea-guide/))\n\n```Bash\njavac src/main/java/embloy/EmbloyClient.java src/main/java/embloy/EmbloySession.java\n\nmvn clean install # you'll be prompted to insert your gpg key passphrase\n\nmvn release:clean release:prepare release:perform\n\nmvn clean deploy # or alternatively mvn clean deploy -P release\n```\n\n---\n\n:::note\nMake sure to have set up correct credentials in your `settings.xml` file ([Reference](https://central.sonatype.org/publish/generate-portal-token/#050))\n\n```xml\n\u003csettings\u003e\n    \u003cprofiles\u003e\n        \u003cprofile\u003e\n            \u003cid\u003ecentral\u003c/id\u003e\n            \u003cactivation\u003e\n                \u003cactiveByDefault\u003etrue\u003c/activeByDefault\u003e\n            \u003c/activation\u003e\n            \u003cproperties\u003e\n                \u003cgpg.executable\u003egpg2\u003c/gpg.executable\u003e\n                \u003cgpg.passphrase\u003epassphrase\u003c/gpg.passphrase\u003e\n            \u003c/properties\u003e\n        \u003c/profile\u003e\n    \u003c/profiles\u003e\n    \u003cservers\u003e\n        \u003cserver\u003e\n            \u003cid\u003ecentral\u003c/id\u003e\n            \u003cusername\u003etoken_id\u003c/username\u003e\n            \u003cpassword\u003etoken_secret\u003c/password\u003e\n        \u003c/server\u003e\n    \u003c/servers\u003e\n\u003c/settings\u003e\n```\n:::\n\n© Carlo Bortolan, Jan Hummel\n\n\u003e Carlo Bortolan \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@carlobortolan](https://github.com/carlobortolan) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e contact via [bortolanoffice@embloy.com](mailto:bortolanoffice@embloy.com)\n\u003e\n\u003e Jan Hummel \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@github4touchdouble](https://github.com/github4touchdouble) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e contact via [hummeloffice@embloy.com](mailto:hummeloffice@embloy.com)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembloy%2Fembloy-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembloy%2Fembloy-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembloy%2Fembloy-java/lists"}