Try ERPNext Buy Support Partners Foundation Foundation Members

Frappe client for python3?

Hello,

We have django site in python3. we need to call frappe api from django.

Should we use https://github.com/frappe/frappe-client ?

Note: I have updated frappe client for python3, but need your suggestion it.

Thanks,
Sam

1 Like

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)
1 Like

Thanks, will try :slight_smile: