<s> from libsaas import http , parsers , port <EOL> from libsaas . services import base <EOL> from . import resource <EOL> class Analysis ( resource . PingdomGETResource ) : <EOL> path = '<STR_LIT>' <EOL> @ base . apimethod <EOL> def get ( self , from_ = None , to = None , limit = None , offset = None ) : <EOL> params = base . get_params ( None , locals ( ) , <EOL> translate_param = resource . translate_param ) <EOL> return http . Request ( '<STR_LIT:GET>' , self . get_url ( ) , params ) , parsers . parse_json <EOL> @ base . apimethod <EOL> def get_raw_analysis ( self , analysisid ) : <EOL> """<STR_LIT>""" <EOL> url = '<STR_LIT>' . format ( self . get_url ( ) , analysisid ) <EOL> request = http . Request ( '<STR_LIT:GET>' , url ) <EOL> return request , parsers . parse_json <EOL> port . method_func ( Analysis , '<STR_LIT>' ) . __doc__ = """<STR_LIT>""" . format ( '<STR_LIT>' <EOL> '<STR_LIT>' ) </s>
