Hello,
We have django site in python3. we need to call frappe api from django.
Should we use GitHub - frappe/frappe-client: Python library to use Frappe API ?
Note: I have updated frappe client for python3, but need your suggestion it.
Thanks,
Sam
Hello,
We have django site in python3. we need to call frappe api from django.
Should we use GitHub - frappe/frappe-client: Python library to use Frappe API ?
Note: I have updated frappe client for python3, but need your suggestion it.
Thanks,
Sam
Came across the same problem today. I was testing to integrate an external data source, but had no luck getting frappeclient running in python3.
the github repo wasnt updated since 4 years.
Frappe Client is now part of frappe itself.
You can import it as
from frappe.frappeclient import FrappeClient
client = FrappeClient(url, email, password,verify=0)
customer_doc = client.get_doc("Customer", customer_id)
Thanks, will try ![]()
frappe/frappe-client has been discontinued and folded into the main frappe framework. If anyone else is looking for a python client that can be used from outside of a frappe site, you can use frappe/frappectl like described here: Introducing "frappectl" - #5 by meichthys