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

7
LINES

< > BotCompany Repo | #1030466 // grabSubredditRequest

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

Libraryless. Click here for Pure Java version (4400L/27K).

static PostRequest grabSubredditRequest(S subreddit) {
  ret new PostRequest("https://api.pushshift.io/reddit/search/submission/",
    +subreddit,
    sort := "desc",
    sort_type := "created_utc",
    size := 1000).switchToGet();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030466
Snippet name: grabSubredditRequest
Eternal ID of this version: #1030466/3
Text MD5: 178df5b6c40f36acc5ee8fb5094e963b
Transpilation MD5: 9afe975c3054c26eaf44e72ef0534d19
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-22 23:30:06
Source code size: 239 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 282
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)