TadTools API

這是用來取的 XOOPS 的一些基本資訊,如站名、使用的模組等資訊的API,回傳json格式。

取得網站資訊

http://網域/modules/tadtools/app_api.php?op=web_info

  • op = web_info

http://www.lces.tn.edu.tw/modules/tadtools/app_api.php?op=web_info 回傳內容:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"sitename": "台南市龍崎國小",
"slogan": "尊重人性 開發潛能 創造價值",
"adminmail": "huang1218@tn.edu.tw",
"meta_description": "臺南市龍崎區龍崎國民小學(簡稱龍崎國小),是一所位於中華民國臺南市龍崎區的國民小學。特色 絲竹樂 竹編 畫繪本...等各項才藝",
"slide": [
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_1.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_2.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_4.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_5.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_11.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_12.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_14.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_15.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_16.jpg",
"https:\/\/www.lces.tn.edu.tw\/uploads\/tad_themes\/school2014\/slide\/slide_2_17.jpg"
]
}
  • sitename:網站名稱
  • slogan:網站口號
  • adminmail:管理員信箱
  • meta_description:網站簡介
  • slide:網站圖片

取得該站有使用的模組

http://網域/modules/tadtools/app_api.php?op=web_modules

  • op = web_modules

http://www.lces.tn.edu.tw/modules/tadtools/app_api.php?op=web_modules 回傳內容:

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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[
{
"name": "tiny D0",
"dirname": "tinyd0"
},
{
"name": "本站消息",
"dirname": "tadnews"
},
{
"name": "電子相簿",
"dirname": "tadgallery"
},
{
"name": "Tad Tools 工具包",
"dirname": "tadtools"
},
{
"name": "影音播放",
"dirname": "tad_player"
},
{
"name": "營養午餐公告",
"dirname": "tad_lunch2"
},
{
"name": "系統",
"dirname": "system"
},
{
"name": "佈景管理",
"dirname": "tad_themes"
},
{
"name": "維修通報",
"dirname": "tad_repair"
},
{
"name": "快速登入",
"dirname": "tad_login"
},
{
"name": "評鑑檔案管理",
"dirname": "tad_evaluation"
},
{
"name": "UGM_自訂頁面",
"dirname": "ugm_page"
},
{
"name": "行事曆",
"dirname": "tad_cal"
},
{
"name": "榮譽榜",
"dirname": "tad_honor"
},
{
"name": "網路資料櫃",
"dirname": "tad_uploader"
},
{
"name": "私人訊息",
"dirname": "pm"
},
{
"name": "使用者管理",
"dirname": "profile"
},
{
"name": "站長工具箱",
"dirname": "tad_adm"
},
{
"name": "網站計數器",
"dirname": "logcounterx"
},
{
"name": "好站連結",
"dirname": "tad_link"
},
{
"name": "我的標籤",
"dirname": "mytabs"
},
{
"name": "作業上傳模組",
"dirname": "tad_assignment"
},
{
"name": "友站消息",
"dirname": "tad_rss"
},
{
"name": "網路設備記錄",
"dirname": "info_whats"
},
{
"name": "線上書籍3",
"dirname": "tad_book3"
},
{
"name": "聯絡我們",
"dirname": "ugm_contact_us"
}
]
  • name:模組名稱
  • dirname:目錄名稱
分享到