def list_all ( dev : Device ) : for name , service in dev . services . items ( ) : click . echo ( click . style ( "\nService %s" % name , bold = True ) ) for method in service . methods : click . echo ( "  %s" % method . name )
get list of all youtube api python
List all available API calls .
def list_all(dev: Device):
    """List all available API calls."""
    for name, service in dev.services.items():
        click.echo(click.style("\nService %s" % name, bold=True))
        for method in service.methods:
            click.echo("  %s" % method.name)