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

Method get

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

Source from the content-addressed store, hash-verified

52
53class StopHandlerinsta(tornado.web.RequestHandler):
54 def get(self):
55 try:
56 q = self.get_argument("q")
57 user = self.get_argument("userId")
58 # tags = self.get_argument("hashtags")
59 productId = self.get_argument("productId")
60 except:
61 self.send_error(400)
62 obj = InstaPorcessClass()
63 result = obj.deletProcess(tags=q, user=user, productId=productId)
64 temp = {}
65 temp["query"] = q
66 temp["userId"] = user
67 temp["productId"] = productId
68 temp["status"] = result
69 print(
70 "{0}, {1}, {2}, {3}".format(
71 temp["userId"], temp["productId"], temp["query"], temp["status"]
72 )
73 )
74 self.write(ujson.dumps(temp))
75
76
77class StatusHandlerinsta(tornado.web.RequestHandler):

Callers 3

selectPicturesMethod · 0.45
request_pullFunction · 0.45
reqest_pullMethod · 0.45

Calls 2

deletProcessMethod · 0.95
InstaPorcessClassClass · 0.85

Tested by

no test coverage detected