Drawtype for objects in blender 2.8
Object Properties > Viewport Display > Display As Wire

You might want to check "All Edges" too to draw coplanar edges (edges lying on the same plane)



With python

import bpy 
ob = bpy.context.object
ob.display_type = 'WIRE'
ob.show_all_edges = True