Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Want to extract country code while calling a lead document

How can I extract country code of the respective country that I get when I call for a lead document in the API?