16
16
[ JSON] : https://github.com/stleary/JSON-java
17
17
[ Caffeine] : https://github.com/ben-manes/caffeine
18
18
19
- [ Wiki] : https://github.com/botblock/JavaBotBlockAPI/wiki
20
19
[ contributors.md ] : https://github.com/botblock/JavaBotBlockAPI/blob/master/contributors.md
21
20
21
+ [ Javadoc ] : https://docs.botblock.org/JavaBotBlockAPI
22
+ [ image ] : https://docs.botblock.org/JavaBotBlockAPI/assets/img/JavaBotBlockAPI.png
23
+
24
+ ![ image]
22
25
23
26
JavaBotBlockAPI is a continued and updated Java Wrapper for [ BotBlock] , a website that makes it possible to update guild counts on multiple lists with one API.
24
27
This wrapper is a fork of [ BotBlock4J] and was updated and improved to make it as userfriendly as possible.
@@ -30,31 +33,89 @@ You can install JavaBotBlockAPI through the following methods.
30
33
Make sure to replace ` {version} ` with the above shown version.
31
34
32
35
## Gradle
33
- Put this code into your ` build.gradle ` :
36
+ Put this code into your ` build.gradle ` to download all modules:
37
+ ``` groovy
38
+ repositories{
39
+ maven{ url = 'https://dl.bintray.com/andre601/maven' }
40
+ }
41
+
42
+ dependencies{
43
+ compile group: 'org.botblock', name: 'javabotblockapi', version: '{version}'
44
+ }
45
+ ```
46
+
47
+ if you want to only download specific modules can you just use ` javabotblockapi-<module> ` :
34
48
``` groovy
35
49
repositories{
36
- jcenter()
50
+ maven{ url = 'https://dl.bintray.com/andre601/maven' }
37
51
}
38
52
39
53
dependencies{
40
- compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '{version}'
54
+ // Core Module. Always needed
55
+ compile group: 'org.botblock', name: 'javabotblockapi-core', version: '{version}'
56
+
57
+ // Request Module. Depends on Core
58
+ compile group: 'org.botblock', name: 'javabotblockapi-request', version: '{version}'
59
+
60
+ // JDA Module. Depends on Core and Request
61
+ compile group: 'org.botblock', name: 'javabotblockapi-jda', version: '{version}'
41
62
}
42
63
```
43
64
44
65
## Maven
45
- For maven use this code snippet:
66
+ For maven use this code snippet to download all modules:
67
+ ``` xml
68
+ <repositories >
69
+ <repository >
70
+ <id >jcenter</id >
71
+ <url >https://dl.bintray.com/andre601/maven</url >
72
+ </repository >
73
+ </repositories >
74
+
75
+ <dependencies >
76
+ <dependency >
77
+ <groupId >org.botblock</groupId >
78
+ <artifactId >javabotblockapi</artifactId >
79
+ <version >{version}</version >
80
+ </dependency >
81
+ </dependencies >
82
+ ```
83
+
84
+ if you want to only download specific modules can you just use ` javabotblockapi-<module> ` :
46
85
``` xml
86
+ <repositories >
87
+ <repository >
88
+ <id >jcenter</id >
89
+ <url >https://dl.bintray.com/andre601/maven</url >
90
+ </repository >
91
+ </repositories >
92
+
47
93
<dependencies >
94
+ <!-- Core Module. Always needed -->
95
+ <dependency >
96
+ <groupId >org.botblock</groupId >
97
+ <artifactId >javabotblockapi-core</artifactId >
98
+ <version >{version}</version >
99
+ </dependency >
100
+
101
+ <!-- Request Module. Depends on Core -->
102
+ <dependency >
103
+ <groupId >org.botblock</groupId >
104
+ <artifactId >javabotblockapi-request</artifactId >
105
+ <version >{version}</version >
106
+ </dependency >
107
+
108
+ <!-- JDA Module. Depends on Core and Request -->
48
109
<dependency >
49
110
<groupId >org.botblock</groupId >
50
- <artifactId >JavaBotBlockAPI </artifactId >
111
+ <artifactId >javabotblockapi-jda </artifactId >
51
112
<version >{version}</version >
52
113
</dependency >
53
114
</dependencies >
54
115
```
55
116
56
117
# Usage
57
- Please visit the [ wiki ] for all available POST and GET methods, as the amount of GET methods alone is quite large.
118
+ Please visit the [ Javadoc ] for all available POST and GET methods, as the amount of GET methods alone is quite large.
58
119
59
120
# Libraries/Dependencies
60
121
JavaBotBlockAPI utilizes different APIs to provide the functionality it offers right now.
@@ -69,7 +130,7 @@ We have a list of those libraries listed here.
69
130
Here are some useful links:
70
131
- [ BotBlock.org] [ BotBlock ] Site for which this wrapper was made.
71
132
- [ API] API documentation.
72
- - [ Wiki and Javadocs ] [ wiki ] Java documentation of the Wrapper.
133
+ - [ Javadoc ] Java documentation of the Wrapper.
73
134
- [ CodeMC] CI server for dev builds. Those jar files may differ from the ones on bintray.
74
135
- [ BotBlock4J] Original Wrapper from which this one originates.
75
136
0 commit comments