reddit API call on input keypress.