Convert Nifti into Hounsfield numbers and apply windowing

Hi,
I have CT volumes in Nifti format. I would like to apply the Hounsfield Unit(HU) windowing to these volumes to get soft tissue information. For doing so, I need RescaleSlope, RescaleIntercept, Window Center and Window Width values. In Dicom, it is possible to get these values using print(image). (
https://vincentblog.xyz/posts/medical-images-in-python-computed-tomography )
I would like to do the same using Nibabel. How to access this information.

Assuming dcm2niix was used to convert the images, DICOM Rescale Intercept (0028, 1052) becomes NIfTI scl_inter, and DICOM Rescale Slope (0028, 1053) becomes scl_slope. The integer image data is copied losslessly.

MANAGED BY INCF