Commit Graph

48 Commits (bb308c6d9d7683010415ff4acf3acad470caa566)

Author SHA1 Message Date
Hammy c43f9f4586 Make getWaifu(Integer id) method public 3 years ago
Hammy 2315657ec4 Remove annotations and regenerate equals(), hashcode() and toString() methods 3 years ago
Hammy 7b0d341183 Add many new endpoints
Coverage of the API is sitting around 40%/50%
3 years ago
Hammy 087a2ce3d2 Update User.java to better reflect the API 3 years ago
Hammy 8e64742fde Add enum for seasons of the year
Reduces the chance of user error to near 0 as they will choose from an enum instead of string
3 years ago
Hammy 3733925aa0 Ignore Series from FilteredWaifu
This value seems to be always null when returned from the API, hence it is now going to be ignored
3 years ago
Hammy 82a136dee0 Update instance variables
Instance variables were updated for better clarity and readability to end users
3 years ago
Hammy 3fd6f9f917 Remove unused import 3 years ago
Hammy 8af51c289e Update WaifuImage.java to better reflect API 3 years ago
Hammy aab72afde1 Delete unused code 3 years ago
Hammy 55f91bbddf Add documentation 3 years ago
Hammy 7c30a24cd1 Rename package org.goudham.me to me.goudham 3 years ago
Hammy 59508153ed Add new endpoint - getDailyWaifu() 3 years ago
Hammy 61c1c0e7b0 Update FilteredWaifu.java to better reflect API information 3 years ago
Hammy 7813421597 Delete useless test 3 years ago
Hammy 32068c4c55 Refactor deserialize & deserializeToList() methods
Making methods more readable through type signatures and how the method is being called within APIWrapper.java
3 years ago
Hammy 69c0ea55f3 Remove HttpClient from MyWaifuClient.java
MyWaifuClient should not have to pass in HttpClient into the APIWrapper, the httpClient is now managed by the APIWrapper
3 years ago
Hammy dfa05022e7 Add support for retrieving the current airing anime 3 years ago
Hammy 092d43172a Create APIMapper class 3 years ago
Hammy a10ac06fb2 Update documentation 3 years ago
Hammy 1f3ea2fc0c Rename MyWaifuWrapper.java to APIWrapper.java 3 years ago
Hammy 256341a88d Add support for retrieving series by ID 3 years ago
Hammy 2aaba3527f Add new exception class 3 years ago
Hammy 501233ddb3 Allow default no-args constructor
Jackson will be able to resolve errors if Studio has a name or whole Studio object is passed in. Please see this following post https://stackoverflow.com/questions/53191468/no-creators-like-default-construct-exist-cannot-deserialize-from-object-valu
3 years ago
Hammy 0b4afb2280 Update documentation & add new fields
The API was returning fields that were not specified in the API reference, Series.java has been updated to reflect the actual API response
3 years ago
Hammy 27868ca1e6 Update documentation & add new fields
The API was returning fields that were not specified in the API reference, the classes have been updated to reflect the actual API response
3 years ago
Hammy 7530afa182 Remove Appearance.java
This was a duplicate of the class FilteredSeries.java
3 years ago
Hammy 87360899f3 Update documentation 3 years ago
Hammy 18efcd679a Update documentation 3 years ago
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