# https://github.com/Yelp/bravado from bravado.requests_client import RequestsClient from bravado.client import SwaggerClient http_client = RequestsClient() http_client.set_basic_auth('yourdomain.example.com', 'DATABASE-NAME', 'USER-TOKEN') flectra = SwaggerClient.from_url( 'https://yourdomain.example.com/api/v1/demo/swagger.json?token=demo_token&db=source', http_client=http_client ) result = flectra.res_partner.callMethodForResPartnerModel( method_name="search", body={ 'args': [[('email', '=', 'sync@it-projects.info')]] } ).response().incoming_response.json() partner_id = result and result[0] if not partner_id: result = flectra.res_partner.addResPartner(body={ "name": "OpenAPI Support", "email": "sync@it-projects.info" }).response().result partner_id = result.id flectra.res_partner.callMethodForResPartnerSingleRecord( id=partner_id, method_name="message_post", body={ "kwargs": { "body": "The Openapi module works in Python! Thank you!", "partner_ids": [partner_id] } } ).response()
Comming soon...
Comming soon...
Comming soon...
Comming soon...
Comming soon...
AWS Lambda is a serverless autoscalable platform to execute your code. For a simple integration as well as cases when you want to use any of AWS Services it's the best option. No extra module is needed! Check out detailed instruction:
Syndesis is an integration platform. Syndesis allows to make data mapping from/to Flectra without any programming. No extra module is needed! Check out detailed intruction:
Dataiku is platform to analyze data. No extra module is needed! Check out detailed instruction:
Power BI is a service to visualize and analyzing data. No extra module is needed! Check out detailed intruction:
(for example, in RPC you need to be authorized first, then get uid...)
Need more? Anything with REST API support can be connected to Flectra just with this module!
Contact us by email or fill out request form