Home | Trees | Indices | Help |
---|
|
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Method Details |
Constructs a DeviceApi instance with default or an optional custom config.
See Also: You can see the default configs in the class Config. |
Load the DeviceAtlas device detection data into the API from a JSON file. The JSON data file is provided from the DeviceAtlas website.
|
Load the DeviceAtlas device detection data into the API from a string.
|
Get the properties for a User-Agent or a dictionary of HTTP headers optionally merged with the client side properties (provided by the DeviceAtlas Client-side component). The DeviceAtlas Client-side component (JavaScript library) collects the client-side properties and puts them in a cookie. The content of this cookie can be passed to this method. The client properties will override any properties discovered from the main JSON data file.
|
Get a list of all possible property names. Note that the client side properties are not included in this list.
|
Returns the device data (JSON file) version.
|
The creation date/time of the loaded data file as a Unix timestamp.
|
The creation date/time of the loaded data file in ISO 8601 format.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Apr 4 10:33:31 2023 | http://epydoc.sourceforge.net |