record_shelf.ReportGenerator

class record_shelf.ReportGenerator(config)[source]

Bases: object

Generates custom reports from Discogs collection data

get_user_categories(username)[source]

Get list of categories for a user

Return type:

List[str]

fetch_collection_data(username, category_filter=None)[source]

Fetch collection data for a user

Return type:

List[Dict[str, Any]]

create_report(data, output_path, format_type='xlsx')[source]

Create a report from the collection data

Return type:

None

generate_summary_stats(data)[source]

Generate summary statistics for the collection

Return type:

Dict[str, Any]