Functions with description to how consume moodle and wordpress api