- Java 17 or later
- Maven 3.8+ or Gradle 7+
Add the dependency to your pom.xml:
<dependency>
<groupId>com.assinafy</groupId>
<artifactId>webforms-java-client-sdk</artifactId>
<version>1.4.0</version>
</dependency>Then run:
mvn installdependencies {
implementation 'com.assinafy:webforms-java-client-sdk:1.4.0'
}Or with Kotlin DSL:
dependencies {
implementation("com.assinafy:webforms-java-client-sdk:1.4.0")
}To install from GitHub Packages, add the repository to your pom.xml:
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/assinafy/webforms-java-client-sdk</url>
</repository>
</repositories>And configure authentication in ~/.m2/settings.xml:
<servers>
<server>
<id>github</id>
<username>YOUR_GITHUB_USERNAME</username>
<password>${GITHUB_TOKEN}</password>
</server>
</servers>Create a .env file or set these variables in your environment:
export ASSINAFY_API_KEY=k_your_api_key
export ASSINAFY_ACCOUNT_ID=your_account_idThe SDK pulls in:
| Dependency | Version | Purpose |
|---|---|---|
com.squareup.okhttp3:okhttp |
4.12.0 | HTTP client |
com.fasterxml.jackson.core:jackson-databind |
2.17.2 | JSON serialization |