Here is an online copy of the Gospel of James.    It from here that we get the names of Mary's parent's, Joachim and Anne.   Where we hear how Joseph was chosen to be her husband, as well as that he was an old man with grown sons, details about the nativity of Jesus, etc.   it is actually fun reading and helping to understand why certain things in art about the lives of Jesus and Mary were standardized as they were.     These writings were the source of many of our small "t" traditions about this sort of stuff.       http://www.asu.edu/courses/rel376/total-readings/james.pdf