Added API generator function that only uses numbers and letters