MCPcopy Index your code
hub / github.com/NextronSystems/valhallaAPI / get_subscription

Method get_subscription

valhallaAPI/valhalla.py:117–128  ·  view source on GitHub ↗

Retrieve the subscribed tags :return:

(self)

Source from the content-addressed store, hash-verified

115 return json.loads(r.text)
116
117 def get_subscription(self):
118 """
119 Retrieve the subscribed tags
120 :return:
121 """
122 r = requests.post("%s/api/%s/subscription" % (self.base_url, self.api_version),
123 data={
124 "apikey": self.api_key,
125 },
126 proxies=self.proxies,
127 headers=self.headers)
128 return json.loads(r.text)
129
130 def get_rule_info(self, rulename):
131 """

Callers 2

mainFunction · 0.95
test_subscriptionFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_subscriptionFunction · 0.76