Google Analytics reorting API

You should be able to get the same data as in the UI, that said, there is a separate API for Real Time. In any case it's not usually best practice to pull today's data via the API - this has a lot to do with how much data you push to GA and how much filtering happens on your views, etc.