Translate the following sentence into Turkish.
I was passing through St James's and thought I would take the opportunity to call on you.
St. James'ten geçiyordum ve size şöyle bir uğrayıvereyim diye düşündüm.