public Stats getPhotosetStats ( Date date , String photosetId ) throws JinxException { JinxUtils . validateParams ( date , photosetId ) ; Map < String , String > params = new TreeMap <> ( ) ; params . put ( "method" , "flickr.stats.getPhotosetStats" ) ; params . put ( "date" , JinxUtils . formatDateAsYMD ( date ) ) ; params . put ( "photoset_id" , photosetId ) ; return jinx . flickrGet ( params , Stats . class ) ; }
Get the number of views on a photoset for a given date .