How to make SDK from certain API?

I have been making and working with API’s for 2 years now, and wanted to know how to use them to make my own SDK’s. Have read few blogs on net but wasn’t able to get the clear idea how to actually implement it.