Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 640 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 640 Bytes

DeviantArt Java Client

A strongly-typed Java client for https://deviantart.com website.

Usage

public static void main(String[] args) {
  DeviantArtClient client = new DeviantArtClient();
  client.setHttpService(new DefaultHttpServiceImpl());

  List<DeviantArtImage> images = client.getImages(
  	DeviantArtCategory.DigitalArt,   // in the digital art section 
  	DeviantArtBoost.Popular,         // that are most popular
  	DeviantArtSort.Time,             // sort by newest first
  	DeviantArtType.Deviation,        // all deviations
  	null);
  
  System.out.println(images.size());
}

License

Apache Version 2.0