
generate_top_albums_collage ( username = "username", cols = 5, rows = 5, period = "7day" ) image.

save ( "5x5 album collage.png", "png" ) # Or just call the method directly image = collage_generator. generate ( entity = "album", username = "username", cols = 5, rows = 5, period = "7day" ) image. Usage/Examples from llage_generator import CollageGenerator collage_generator = CollageGenerator ( lastfm_api_key = "YOUR_API_KEY", lastfm_api_secret = "YOUR_API_SECRET" ) # Returns a PIL Image object image = collage_generator. Choose from artist or albums, different periods, as well as the size of the grid. The easy-to-use, material designed app lets your quickly create collages of various sizes and options. Install lastfmcollagegenerator with pip pip install lastfmcollagegenerator Collage Generator for Last.fm lets you easily create photo grid collages based on your Last.fm scrobbles.

