Skip to content

lionzeye/JavaReddAPIWrapperREST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaReddAPIWrapperREST

GET and POST data from/to the ReddAPI using REST

You can test the wrapper by creating a class similar this one:

    import java.io.IOException;
    
    public class testAPI {

     public static void main(String[] args) throws IOException {
        API ReddAPI = new API("somekeyGET", "somekeyPOST");
        System.out.println(ReddAPI.getUserBalance("someusername"));
        System.out.println(ReddAPI.getUserBalanceDetail("someusername"));
        System.out.println(ReddAPI.getUserList());
        System.out.println(ReddAPI.getUserInfo("someusername"));
        System.out.println(ReddAPI.sendToAddress("someusername", "someRDDaddress", 1.0));
        System.out.println(ReddAPI.moveToUser("someusername", "someusername", 1.0));
        System.out.println(ReddAPI.createNewUser("someusername"));
     }
    }

About

GET and POST data from/to the ReddAPI using REST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages