Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Explains and generates Odoo JSON-RPC and XML-RPC API code for authentication, model calls, and record CRUD in Python, JavaScript, and curl.
74% 83%+9 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 17 of 23 without it.
3 of 3 safety checks passed
Not used yet
Odoo exposes a powerful external API via JSON-RPC and XML-RPC, allowing any external application to read, create, update, and delete records. This skill guides you through authenticating, calling models, and building robust integrations.
@odoo-rpc-api and describe the integration you need.import xmlrpc.client
url = 'https://myodoo.example.com'
db = 'my_database'
username = 'admin'
password = 'my_api_key' # Use API keys, not passwords, in production
# Step 1: Authenticate
common = xmlrpc.client.ServerProxy(f'{url}/xmlrpc/2/common')
uid = common.authenticate(db, username, password, {})
print(f"Authenticated as UID: {uid}")
# Step 2: Call models
models = xmlrpc.client.ServerProxy(f'{url}/xmlrpc/2/object')
# Search confirmed sale orders
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.