Read the whole input file before making api calls

Community Data Science Collective || Want to submit a patch?