Api basics (+ Why isn't the API section accessible for me?)

I am getting into solidworks API a little bit with the goal to be able to draw parts only by entering desired parameters. A gear in this case. i used Macro record to record a macro to make a simple gear. I am going to use that macro to start off with. i need some tips to be able to insert/adjust the gear thickness, the amount of teeth and diameter etc in the macro, but i have a hard time finding examples and tutorials about that.

2nd. i do not seem to have the privileges to access the API section, why?

(The full story, I worked out some formulas for designing geneva gears in mathcad, i only have to enter the desired amout of pins and slots and the dimensions and stuff rolls out. I want to use those outputs to autmatically draw my solidworks parts with a macro)

SolidworksGeneral