Commit Graph

19 Commits (b8a1fec7f6f40a10c96bcd493a057666e18970a9)

Author SHA1 Message Date
Hammy e3d187d142 Implement basic functionality for Waifu endpoint 3 years ago
Hammy fc9bf53620 Add POJO for Result
A Result object is what the sendRequest() method will return to the helper methods within MyWaifuWrapper.java
3 years ago
Hammy 8471d7a5e3 Add POJO for Response
A Response<> object is what users will receive when interacting with MyWaifuClient.java
3 years ago
Hammy e6baaef299 Add new constructor with @JsonCreator annotation
As the API is inconsistent, the Studio object within the Waifu endpoint was returning a String, this implementation allows Jackson to instantiate the Studio class even if a String was returned
3 years ago
Hammy 6192b34204 Update documentation 3 years ago
Hammy 4fa583201e Update documentation 3 years ago
Hammy 6717c2cd8c Add CustomException Class APIResponseException.java
Throwing one single exception when catching many different ones within the sendRequest() method of MyWaifuWrapper.java
3 years ago
Hammy d734e76db8 (Unfinished) Testing API Retrieval 3 years ago
Hammy 69f4dab38e Update POJO's to better reflect API
The getWaifu endpoint disappointingly diverts from the API reference. Therefore changes to field names have been applied
3 years ago
Hammy 65689a7ee5 Add another POJO for JSON Entity
The getWaifu endpoint has a creator {} block that wasn't documented in the API Reference
3 years ago
Hammy 303083ff4b Make MyWaifuWrapper.java constructor private
Ensures that users/clients are not able to instantiate an instance of MyWaifuWrapper.java
3 years ago
Hammy 42e9ce4439 Make MyWaifuWrapper.java package private
To ensure that the downstream client/user cannot instantiate an instance of MyWaifuWrapper, it has been moved into the same package as MyWaifuClient
3 years ago
Hammy f81fb2b931 Make MyWaifuClient.java public 3 years ago
Hammy 3a68208465 Update JavaDocs
Make sure that we are not referencing generics within javadocs
3 years ago
Hammy 02d2dcfda3 Fix HTML Tags
Ensure that the HTML tags included are correctly used
3 years ago
Hammy a8c685d78e Add dummy test 3 years ago
Hammy 24c96183cf Add (Unfinished) MyWaifuWrapper.java
This class will be abstracted away from Users and perform the API processing in the background
3 years ago
Hammy 184327f723 Add Basic MyWaifuClient.java
This class will be the main entry point for Users who wish to use this wrapper
3 years ago
Hammy 6d71d60e28 Add API return entities as POJO'S 3 years ago