Skip to content

Commit df30f5b

Browse files
authored
Merge pull request #3 from JDaniel4468/patch-1
Add Documentation
2 parents f607eb6 + 471b128 commit df30f5b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,21 @@ Download the .jar file from https://github.com/techguy9984/TBA-API/releases.
99

1010
Add the jar as a dependency in your project.
1111

12+
# Dependencies
13+
This API requires the use of JSON-Simple. Make sure you download the .jar file at https://code.google.com/archive/p/json-simple/ and add the jar as a dependency.
14+
1215
# Usage
13-
To use the API, first, set the ID statically with three variables:
16+
To use the API, first, import the project:
17+
```java
18+
import com.cpjd.main.*;
19+
import com.cpjd.models.*;
20+
```
21+
22+
Next, set the ID statically with three variables:
1423
```java
1524
TBA.setID("id","description","version");
1625
```
26+
For more information on the id, go to https://www.thebluealliance.com/apidocs
1727
Then, create a TBA object:
1828
```java
1929
TBA tba = new TBA();

0 commit comments

Comments
 (0)