Get Api Request Using Python Libraries Class