7 lines
198 B
Plaintext
7 lines
198 B
Plaintext
|
class {{class_name}}():
|
||
|
def __init__(self, base):
|
||
|
self.method = "{{endpoint}}"
|
||
|
self.base = base
|
||
|
|
||
|
def fetch(self, params={}):
|
||
|
return self.base.request(self.method)
|