Restful API Implementation in Odoo
Put api.py on your Odoo module and import it or create a new module with only an init.py and the api.py, and append the module name on server_wide_modules in the configuration file or run odoo.py/odoo-bin with --load=web,nameofthemodule