Breakdown of Ayer le pedí disculpas a mi novia.
mi
my
a
to
la novia
the girlfriend
le
to him / to her / to you (formal) / him (direct object, male person)
pedir
to ask for; to order (food or drink)
ayer
yesterday
la disculpa
the apology
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.