code: def find_loci(self):
          
          session = OAuth1Session(self.consumer_key,
                                  self.consumer_secret,
                                  access_token=self.session_token,
                                  access_token_secret=self.session_secret)
          # Use the URL for all loci determined above
          r = session.get(self.loci)
          if r.status_code == 200 or r.status_code == 201:
              if re.search('json', r.headers['content-type'], flags=0):
                  decoded = r.json()
              else:
                  decoded = r.text
              # Extract all the URLs in the decoded dictionary under the key 'loci'
              for locus in decoded['loci']:
                  # Add each URL to the list
                  self.loci_url.append(locus)
docs: Finds the URLs for all allele files