Add (Unfinished) MyWaifuWrapper.java

This class will be abstracted away from Users and perform the API processing in the background
pull/2/head
Hammy 4 years ago
parent 184327f723
commit 24c96183cf

@ -0,0 +1,20 @@
package org.goudham.me.api;
import org.goudham.me.MyWaifuClient;
/**
* Returns API information to {@link MyWaifuClient}
*/
public class MyWaifuWrapper {
private final String version = "1.0";
private final String host = "https://mywaifulist.moe/api/v1/";
private final String apiKey;
/**
* Instantiates an instance of {@link MyWaifuWrapper} to retrieve API Information
* @param apiKey API Key to authorise API request
*/
public MyWaifuWrapper(String apiKey) {
this.apiKey = apiKey;
}
}
Loading…
Cancel
Save