> For the complete documentation index, see [llms.txt](https://scratchit.devs.beer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scratchit.devs.beer/cinese/kai-fa-zhe/java-api.md).

# ☕️Java API

## How to get the API

You just have to use **maven** or **gradle**, you can get the **API** here

{% embed url="<https://github.com/LoneDev6/API-ScratchIt>" %}

## Description

ItemsAdder includes an easy to use API for Java developers.\
To access it just include **dev.lone.ScratchIt.api** in your code.

## Important!

You have to listen to the event **ScratchItCardsLoaded** in order to be sure that the cards are available to be accessed using the api.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://scratchit.devs.beer/cinese/kai-fa-zhe/java-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
