Download of daily ERA5 precipitation data

Hi Peter / .... Community

I'm new in CDS community, .... would appreciate your support.

I want to download daily precipitation data but got the below error, seems the parameter for the module "Project" shall be different than TBD (Note: I run the "test" to retrieve ERA5 data and it works well ....)

luis_h@LAPTOP-3D44S1T1:~$ python3
Traceback (most recent call last):
File "/home/luis_h/", line 12, in
"project": TBD,
NameError: name 'TBD' is not defined

Below the script content ( ... the code was taken from the C3S guide "Daily statistics calculated from ERA5 data", .. it's not specified the meaning of the module "Project" and the parameters to configure )

import cdsapi
c = cdsapi.Client()
MONTHS = ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]
for month in MONTHS:
result = c.service(
"realm": "c3s",
"project": TBD,
"version": "master",
"kwargs": {
"dataset": "reanalysis-era5-single-levels",
"product_type": "reanalysis",
"variable": "total_precipitation",
"statistic": "daily_mean",
"year": "2020",
"month": "month",
"time_zone": "UTC+00:0",
"frequency": "1-hourly",
"grid": "0.25/0.25",
"area": {"lat": [-20, -10], "lon": [40, 30]}
"workflow_name": "daily_prec"

Solved, .... the problem was 

"realm": "user-apps"

Whereas in the "Daily Statistics" Guide  the parameter is  "realm": "c3s",  

The report shall be up-dated ... 

Hi Luis, a full example is here:

Retrieve daily ERA5/ERA5-Land data using the CDS API