Package redlink
[frames] | no frames]

Source Code for Package redlink

 1  # -*- coding: utf8 -*- 
 2   
 3  # Licensed under the Apache License, Version 2.0 (the "License"); 
 4  # you may not use this file except in compliance with the License. 
 5  # You may obtain a copy of the License at 
 6  # 
 7  #     http://www.apache.org/licenses/LICENSE-2.0 
 8  # 
 9  # Unless required by applicable law or agreed to in writing, software 
10  # distributed under the License is distributed on an "AS IS" BASIS, 
11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
12  # See the License for the specific language governing permissions and 
13  # limitations under the License. 
14   
15  """ 
16  Redlink Python SDK: C{https://github.com/redlink-gmbh/redlink-python-sdk} 
17  """ 
18   
19  __version__ = "1.0.0" 
20  __authors__ = "Sergio Fernandez" 
21  __license__ = "Apache License, Version 2.0" 
22  __url__ = "https://github.com/redlink-gmbh/redlink-python-sdk" 
23  __contact__ = "support@redlink.io" 
24  __date__ = "2015-10-28" 
25  __agent__ = "RedlinkPythonSDK/%s" % __version__ 
26   
27  from .analysis import RedlinkAnalysis 
28  from .data import RedlinkData 
29   
30   
31 -def create_analysis_client(key):
32 """ 33 Create an instance of a Redlink Analysis Client 34 35 @type key: str 36 @param key: api key 37 38 @rtype: C{RedlinkAnalysis} 39 @return: analysis client 40 """ 41 return RedlinkAnalysis(key)
42 43
44 -def create_data_client(key):
45 """ 46 Create an instance of a Redlink Dara Client 47 48 @type key: str 49 @param key: api key 50 51 @rtype: C{RedlinkData} 52 @return: data client 53 """ 54 return RedlinkData(key)
55