Blender 2.8 - Python - "active" removed from API - How to pick active object now?
bpy.context.object seems to still work just fine with an extra bonus of less typing. 

You can use the autocomplete function(Ctrl+Space) in the Python Console to find out how things are in 2.80 as well as in previous versions.