mirror of
https://github.com/simon987/parler-tricks.git
synced 2025-12-14 23:29:08 +00:00
Initial commit
This commit is contained in:
7
parler/feedback.py
Normal file
7
parler/feedback.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user