You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# The Blue Alliance API Java Library [](https://travis-ci.org/spencerng/blue-alliance-api-java-library)
1
+
# The Blue Alliance API Java Library [![Build Status]https://travis-ci.org/RaiderRobotix/blue-alliance-api-java-library.svg?branch=master
2
2
3
3
Java client library to retrieve data from The Blue Alliance using TBA API v3
4
4
5
-
Full Javadoc documentation can be found [here](http://spencerng.github.io/blue-alliance-api-java-library/)
5
+
Full Javadoc documentation can be found [here](http://raiderrobotix.github.io/blue-alliance-api-java-library/)
6
6
7
7
## Usage
8
8
@@ -21,32 +21,33 @@ Here is an example of retrieving an array of teams in the FIRST Mid-Atlantic dis
A list of request methods for each request object can be found [here](http://spencerng.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/requests/package-summary.html).
24
+
A list of request methods for each request object can be found [here](http://raiderrobotix.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/requests/package-summary.html).
25
25
26
26
### Advanced Usage
27
27
28
28
If you want to utilize the `If-Modified-Since` and `Last-Modified` headers, you will need to make a direct URL request with the [`getDataTBA(String urlDirectory, String ifModifiedSince)` method](http://spencerng.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/requests/DataRequest.html#getDataTBA-java.lang.String-java.lang.String-) in the [`DataRequest` class](http://spencerng.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/requests/DataRequest.html). This will return an [`APIResponse`](http://spencerng.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/requests/APIResponse.html) object with JSON data, the HTTP response code, and the `Last-Modified` header.
29
29
30
30
The JSON data will need to be deserialized into an object model with a method in the [`Deserializer` class](http://spencerng.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/Deserializer.html) before being used.
31
31
32
-
Here is an example of continuously fetching the `Match` objects for the 2017 Mount Olive District Event, if they have been updated. Note that this is very inefficient.
32
+
Here is an example of fetching the `Match` objects for the 2017 Mount Olive District Event, if they have been updated.
A list of object model classes and their getter methods for instance variables can be found [here](http://spencerng.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/models/package-summary.html)
50
+
A list of object model classes and their getter methods for instance variables can be found [here](http://raiderrobotix.github.io/blue-alliance-api-java-library/com/thebluealliance/api/v3/models/package-summary.html). Please note that the `master` branch of this repository contains updated object models for the current season's code, and object models for past seasons can be found in other branches.
50
51
51
52
## Dependencies
52
53
@@ -58,9 +59,7 @@ You will need [Gson](https://github.com/google/gson) to use the released compile
58
59
59
60
Note that you will need Gradle to compile this repository's source code if you do not get Gson.
60
61
61
-
## Examples
62
-
63
62
64
63
## Contact
65
64
66
-
Feel free to contact me at sng1488@gmail.com or create a pull request if you have any questions, fixes, or suggestions.
65
+
Feel free to contact Spencer Ng at sng1488 (at) gmail (dot) com or create a pull request if you have any questions, fixes, or suggestions.
0 commit comments