class Resource(__builtin__.object)
    A class for interacting with a resource.
 
  Methods defined here:
__init__(self)
list = method(self, **kwargs)
Detect the language of text.
 
Args:
  q: string, The text to detect (required) (repeated)
 
Returns:
  An object of the form
 
    {
    "detections": [ # A detections contains detection results of several text
      [ # An array of languages which we detect for the given text The most likely language list first.
        {
          "isReliable": True or False, # A boolean to indicate is the language detection result reliable.
          "confidence": 3.140000, # The confidence of the detection resul of this language.
          "language": "A String", # The language we detect
        },
      ],
    ],
  }

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)