1
0
forked from d0nk/parler-tricks
parler-tricks/parler/feedback.py

8 lines
277 B
Python
Raw Normal View History

2020-12-08 00:55:02 +00:00
class FeedbackAPI:
def __init__(self, session, root_url="http://api.parler.com"):
self.root_url = root_url
self.s = session
def submit_feedback(self, *args, **kwargs):
return self.s.post("{}/v3/feedback".format(self.root_url), *args, **kwargs)