code: def get_route(self):
          
          # Create a new session
          session = OAuth1Session(self.consumer_key,
                                  self.consumer_secret,
                                  access_token=self.session_token,
                                  access_token_secret=self.session_secret)
          # Use the test URL in the GET request
          r = session.get(self.test_rest_url)
          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 the URLs from the returned data
              self.loci = decoded['loci']
              self.profile = decoded['schemes']
docs: Creates a session to find the URL for the loci and schemes