forked from jpcnmm/Scripting
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathspeak&translate.js
More file actions
33 lines (29 loc) · 771 Bytes
/
speak&translate.js
File metadata and controls
33 lines (29 loc) · 771 Bytes
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
var obj = JSON.parse($response.body);
obj= {
"error" : 0,
"data" : {
"is_offer_eligible" : true,
"may_expire" : false,
"hash" : "c349550ecceff853e31ee2cb4dc4df86",
"consumable_inapp" : [
],
"is_valid" : true,
"in_app" : {
"com.appicfun.translatorfree.01m_03dt_lim50302" : {
"expired" : false,
"may_expire" : true,
"cancelled" : false,
"is_valid" : true,
"is_trial" : true,
"is_intro" : false,
"transaction_id" : "20000612885421",
"cancel_reason" : "user",
"purchase_date_ms" : "1570593305000",
"expires_date_ms" : "4570852505000",
"remaining_time_ms" : "3178755000000"
}
}
}
};
$done({body: JSON.stringify(obj)});
// Descriptions