Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 1.85 KB

File metadata and controls

86 lines (60 loc) · 1.85 KB

MetaAPI (JavaSDK)

MetaAPI is intended as a solution for developers who want to work with Metaverse API. MetaAPI (Java SDK) provide full wrapping of the Metaverse API.

Summary

For more information about the API visit the MetaverseAPI documentation.

  1. Introduction
  2. Actions
  3. Entities
  4. Download
  5. Documentation
  6. Help and Support
  7. Dependencies

Creating an API instance

The way to create the main instance is pretty simple. We need to call the Builder and with our authentication method.

MetaAPI metaAPI = MetaAPI.Builder.createBuilder()
            .withToken("<walletIndex>")
            .build();

Actions

With actions, we handle the requests in different ways:

  • Callbacks
  • Promises
  • Sync

This three ways leave the pattern to the developer. This is intended to give the best experiences to any type of developers.

Entities

Represents a callback or result of the MetaverseAPI. Entities will have available actions to be used withing their data.
In this version of the SDK the entity is not updated after a callback or similar.

Download

Latest Stable Version Release

Maven

<dependency>
    <groupId>io.mymetavese</groupId>
    <artifactId>metaapi</artifactId>
    <version>VERSION</version>
</dependency>

Gradle

dependencies {
    compile 'io.mymetaverse:metaapi:VERSION'
}

Documentation

Docs can be found "HERE".

Help

For general bugs and errors visit FAQ. If you need any help visit our Discord.

Dependencies

This SDK requires Java 8+.
All dependencies are managed by Maven.

  • OkHttp
  • Project Lombok (For Development)
  • Gson
  • Jupiter JUnit (For Development)