Studying the API will not help. You need practice. I suggest looking at a script skeleton and understanding what each method does. Then go find a basic script written by someone and see if you can understand what each part does and how it is done. Then just choose something simple and start working on it.