Make key and repo API calls use conditionals so they don't use up the API limit quickly