Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
johannjdkPublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Deta API for Java

🚀 Easily integrate with Deta.sh to communicate with Base or Drive using this Java API.

Usage Examples

Inserting data into Base

Deta deta = new Deta("yourDetaProjectKey");
Base base = new Base(deta, "MyBase");

JsonObject json = new JsonObject();
json.addProperty("name", "Jeremy");
json.addProperty("lastname", "Fragrance");
json.addProperty("age", 34);

base.put(json);

Retrieving data from Base

Deta deta = new Deta("yourDetaProjectKey");
Base base = new Base(deta, "MyBase");

JsonObject obj = base.get("key");

Installation

Add the following dependency to your project:

<dependency>
    <groupId>io.github.cweyy</groupId>
    <artifactId>deta-api</artifactId>
    <version>1.0</version>
</dependency>

Or add the following to your Gradle dependencies:

implementation 'io.github.cweyy:deta-api:1.0'

License

📄 This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages