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
Check out the [wiki](https://github.com/dec4234/JavaDestinyAPI/wiki/Getting-Started) for more specific examples and information.
53
53
54
+
### An aside about APIException
55
+
As of 4/30/2024, all functions that interact with the API in any way (i.e. could make an HTTP request) throw APIException.
56
+
This is to allow for you, the user, to handle API errors in the way you see fit. This means you must use a try/catch or
57
+
add "throws" to your function signature.
58
+
<br>
59
+
This was done because the old way could create a lot of runtime exceptions which were hard to account for.
60
+
The most important error you may want to look at is [APIOfflineException](https://github.com/dec4234/JavaDestinyAPI/blob/master/src/main/java/net/dec4234/javadestinyapi/exceptions/APIOfflineException.java)
61
+
which indicates when Bungie has disabled the API for maintenence. This may be useful to tell your user's that the API is offline.
62
+
54
63
## How's it made?
55
64
There is both official and unofficial documentation for the API available on [destinydevs.github.io](http://destinydevs.github.io/BungieNetPlatform/docs/Endpoints) and on the [offical bungie api documentation](https://bungie-net.github.io/).
56
65
57
66
### TO-DO
58
67
- Managing inventory / Item transferring
59
68
- Collections / Triumphs
60
-
- Revamping the wiki
61
-
62
-
### Contributing
63
-
All development since 3/10/2022 on new features occurs within the [dev](https://github.com/dec4234/JavaDestinyAPI/tree/dev) branch. Clone that and submit a pull request with your changes.
0 commit comments