This is an easy-to-use android api by which you can save & retrive data from an open-source database. just one word i.e getX() & saveX()
(where X is type of variable) respectively for retriving & saving. No money, No time waste, No knowledge ,No Account Recquired. Just impliment & use.
Add maven to root build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
To your module build.gradle
dependencies {
implementation 'com.github.ErrorxCode:XCodebase:1.0'
implementation 'com.github.ErrorxCode:OTP-Verification-Api:2.5.0' // optional, implement if you want to use email verification
}
See this library for more information regarding Email Verification.
- Easy, simple & lightweight
- No money, No time waste, No knowledge, No Account Recquired.
- Best for simple CRUD operations & small apps.
- Stores data in key-value pair
- Not for complex querying or sorting data.
- Limitation : Database Storage 0.25 GB
- Limitation : Total Requests/month 10 K
- The usage of limitation is counted for all
OnXCodebaseResponse response = new OnXCodebaseResponse(){
@Override
public void onSuccessful(@Nullable Object object) {
// This object contains variable of the 'X' type that you have requested.
// You can get the value by using parseX(object); method
}
@Override
public void onFailed(XCodeException e) {
// e contain the cause of exception, understand it & try again.
e.printStackTrace();
}
};
saveX(String id,X value,response);
X var = getX(String id,response);
update(String id,Object value,response);
delete(String id,response);
- *X : Data type , anyone of String,int or boolean.
- *id : The unique id of the variable by which it is being associated.
- *response : The callback which is invoked when performing any CRUD operation. You may pass null if you don't want to implement this.
- *value : The value of 'X' variable to update or to save.
If you like my hard work, please give this repo a star 🌟 & Nothing else. Also check my other repos. Thank you !