You should study a language before using it, but don't waste time on the APIs. You should learn the APIs by using them. Just learn whatever part the API you need to do whatever you are doing and ignore the rest.