MCPcopy Index your code
hub / github.com/InstaPy/InstaPy / get_server_endpoint

Function get_server_endpoint

instapy/pods_util.py:12–24  ·  view source on GitHub ↗
(topic)

Source from the content-addressed store, hash-verified

10
11
12def get_server_endpoint(topic):
13 if topic == "fashion":
14 return Settings.pods_fashion_server_endpoint
15 elif topic == "food":
16 return Settings.pods_food_server_endpoint
17 elif topic == "travel":
18 return Settings.pods_travel_server_endpoint
19 elif topic == "sports":
20 return Settings.pods_sports_server_endpoint
21 elif topic == "entertainment":
22 return Settings.pods_entertainment_server_endpoint
23 else:
24 return Settings.pods_server_endpoint
25
26
27def get_recent_posts_from_pods(topic, logger):

Callers 2

share_my_post_with_podsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected