async def main():
    """The main part of the example script."""
    async with aiohttp.ClientSession() as session:
        data = Glances(loop, session, version=VERSION)

        # Get the metrics for the memory
        await data.get_metrics('mem')

        # Print the values
        print("Memory values:", data.values)

        # Get the metrics about the disks
        await data.get_metrics('diskio')

        # Print the values
        print("Disk values:", data.values)
The main part of the example script.