Analysis of high-precision spectroscopic and photometric data for planet and stellar characterisation