Api analytics

Is there a way to get the analytics of a repository (programming languages and commit stats) through the api?