API - Basic API calls

Use javascript style for input parameters.
Use $options as only one accepted argument. This $option object will have values you specified above. So user will be able to specify what exactly needed for API.
For example: $options->$access_level
etc