mirror of
https://github.com/simon987/parler-tricks.git
synced 2025-04-10 14:06:44 +00:00
8 lines
277 B
Python
8 lines
277 B
Python
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)
|