Make Api Request Python Module Definition Programming