# Revision history [back]

actually there is no problem with the python-ceilometerclient it is just that we have to use the lambda function when getting the token. I found this article to be really useful.

here is a short snippet of the code you can use.

keystone_client = KClient(username=username,password=password,tenant_name=tenant_name,auth_url=Auth_url)
token = keystone_client.service_catalog.catalog['token']['id']
ceil = ceilometer_client(endpoint=Endpoint,token=lambda: token)


now you can use the ceilometer client

meters = ceil.meters.list()