def show_distribution_section(config, title, section_name):
payload = requests.get(config.apps_url).json()<EOL>distributions = sorted(payload.keys(), reverse=True)<EOL>latest_distribution = payload[distributions[<NUM_LIT:0>]]<EOL>click.echo("<STR_LIT>".format("<STR_LIT>".rjust(<NUM_LIT:7>), title))<EOL>click.echo("<STR_LIT>")<EOL>section = latest_distribution[section_name]<EOL>names = sorted(section.keys())<EOL>for name in names:<EOL><INDENT>click.echo("<STR_LIT>".format(section[name].rjust(<NUM_LIT:7>), name))<EOL><DEDENT>
Obtain distribution data and display latest distribution section,
i.e. "demos" or "apps" or "themes".