nodes: 0, module; 1, function_definition; 2, function_name:score; 3, parameters; 4, block; 5, identifier:self; 6, identifier:phone_number; 7, identifier:account_lifecycle_event; 8, dictionary_splat_pattern; 9, expression_statement; 10, return_statement; 11, identifier:params; 12, comment:"""
          Score is an API that delivers reputation scoring based on phone number intelligence, traffic patterns, machine
          learning, and a global data consortium.
  
          See https://developer.telesign.com/docs/score-api for detailed API documentation.
          """; 13, call; 14, attribute; 15, argument_list; 16, identifier:self; 17, identifier:post; 18, call; 19, keyword_argument; 20, dictionary_splat; 21, attribute; 22, argument_list; 23, identifier:account_lifecycle_event; 24, identifier:account_lifecycle_event; 25, identifier:params; 26, identifier:SCORE_RESOURCE; 27, identifier:format; 28, keyword_argument; 29, identifier:phone_number; 30, identifier:phone_number
code: def score(self, phone_number, account_lifecycle_event, **params):
          """
          Score is an API that delivers reputation scoring based on phone number intelligence, traffic patterns, machine
          learning, and a global data consortium.
  
          See https://developer.telesign.com/docs/score-api for detailed API documentation.
          """
          return self.post(SCORE_RESOURCE.format(phone_number=phone_number),
                           account_lifecycle_event=account_lifecycle_event,
                           **params)