Hi Guys, We are open sourcing the API wrapper for golang which we were using internally. Hope someone finds this useful. You can find quickstart and installation instruction in the repo
Quick Example To Fetch User Details :
// connect to erpnext or frappe server
config := frappe.Config{
Application_url: "https://demo.erpnext.com",
User: "Administrator",
Password: "password",
}
frappe.Connect(config)
// getting user details
doc := frappe.FrappeInput{}
doc.Doctype = "User"
doc.Resource = "john@gmail.com"
fmt.Println(frappe.Get(doc))