system.py
1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from floraconcierge.shortcuts import get_apiclient
def send_feedback(postObject):
return get_apiclient().services.system.send_feedback(postObject)
def get_inflect_count(count, word):
return get_apiclient().services.system.get_inflect_count(count, word)
def get_inflect(word):
return get_apiclient().services.system.get_inflect(word)
def get_language_by_id(id):
return get_apiclient().services.system.get_language_by_id(id)
def get_languages_list(limit=None, offset=None):
return get_apiclient().services.system.get_languages_list(limit=limit, offset=offset)
def get_page_by_id(id):
return get_apiclient().services.system.get_page_by_id(id)
def get_pages_list(category=None):
return get_apiclient().services.system.get_pages_list(category=category)
def get_setting_by_id(slug):
return get_apiclient().services.system.get_setting_by_id(slug)
def get_site_map(key=None, data=None):
return get_apiclient().services.system.get_site_map(key=key, data=data)
def get_snippet_by_id(id):
return get_apiclient().services.system.get_snippet_by_id(id)