Update api.py: Added get_numbers