[Contribution] Golang API Wrapper for Frappe Framework

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

https://github.com/srajelli/frappe-go

4 Likes

Cool!

Will be nice if you have API parity with GitHub - frappe/frappe-client: Python library to use Frappe API

Yup, will try to do that :+1: