How to make API of any module in SugarCRM

Dear All,

     please tell the process of making any module's API of SugarCRM. I am new user of SugarCRM.

Thanks;