I never bothered to take a look, but thought it should be easy. Probably a single shell sphere, right?
So for mean surface temperature radiated with inverse square law:
And, yep, that was it. Gravity is harder though, probably because it is bound to earth. Will have to think more about that.