Skip to content

Commit d7f80d9

Browse files
authored
Update README.md
1 parent c8cdb6a commit d7f80d9

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# mcmarket-api-java-wrapper
22

3-
This is a complete and easy-to-use Java Wrapper for the [MC-Market Ultimate API](https://www.mc-market.org/wiki/ultimate-api/).
3+
This is a complete and easy-to-use Java wrapper for the [MC-Market Ultimate API](https://www.mc-market.org/wiki/ultimate-api/) built with Java SE Development Kit 16.0.2.
44

5-
# Send a request
5+
# Sending a request
66
```java
77
Client client = new Client(new Token("TOKEN STRING", Token.Type.PRIVATE));
88
Response<Member> response = client.sendOrWait(new RetrieveYourselfRequest());
@@ -38,3 +38,20 @@ if (response.getError() == null) {
3838
}
3939
```
4040
Sortable fields can be found at the official API documentation [here](https://www.mc-market.org/wiki/ultimate-api-v1/).
41+
42+
# Maven Installation Guide
43+
1. Download the latest JAR file [here](https://github.com/swanis/mcmarket-api-java-wrapper/releases).
44+
45+
2. Run this command in your terminal to add the jar file as a maven dependency in your local repository:
46+
```bash
47+
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=<path-to-file>
48+
```
49+
50+
3. Add it to your project's dependencies as such:
51+
```xml
52+
<dependency>
53+
<groupId>is.swan</groupId>
54+
<artifactId>mcmarket-api-java-wrapper</artifactId>
55+
<version>1.0-SNAPSHOT</version>
56+
</dependency>
57+
```

0 commit comments

Comments
 (0)