MCPcopy Index your code
hub / github.com/geekcomputers/Python / get

Method get

insta_monitering/insta_api.py:78–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76
77class StatusHandlerinsta(tornado.web.RequestHandler):
78 def get(self):
79 try:
80 q = self.get_argument("q")
81 user = self.get_argument("userId")
82 productId = self.get_argument("productId")
83 # tags = self.get_argument("hashtags")
84 except:
85 self.send_error(400)
86 obj = InstaPorcessClass()
87 result = obj.statusCheck(tags=q, user=user, productId=productId)
88 temp = {}
89 temp["query"] = q
90 temp["userId"] = user
91 temp["status"] = result
92 temp["productId"] = productId
93 print(
94 "{0}, {1}, {2}, {3}".format(
95 temp["userId"], temp["productId"], temp["query"], temp["status"]
96 )
97 )
98 self.write(ujson.dumps(temp))
99
100
101# class SenderHandlerinsta(tornado.web.RequestHandler):

Callers

nothing calls this directly

Calls 2

statusCheckMethod · 0.95
InstaPorcessClassClass · 0.85

Tested by

no test coverage detected