Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1029982 // gazelle_mathBot1

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4258L/28K).

svoid gazelle_mathBot1(S _user, S _botToken) {
  Map _result = cast postJSONPage("https://gazelle.rocks/bot/listPosts",
    +_user, +_botToken, fields := "text");
  L<Map> posts = cast _result.get("result");
  //pnl(posts);
  print("Found " + n2(posts, "total post"));
  
  for (Map post : posts)
    gazelle_mathBot1_handlePost(_user, _botToken, post);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1029982
Snippet name: gazelle_mathBot1
Eternal ID of this version: #1029982/4
Text MD5: 842fb211ddf2ce8308fad385fa118f97
Transpilation MD5: 7582c2acfefc662d6a702ea01b65202f
Author: stefan
Category: javax / gazelle.rocks
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-27 08:45:55
Source code size: 364 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 293
Version history: 3 change(s)
Referenced in: [show references]