Package | Description |
---|---|
com.cd.reddit | |
com.cd.reddit.http | |
com.cd.reddit.json.jackson |
Modifier and Type | Method and Description |
---|---|
RedditJsonMessage |
Reddit.comment(String rawMarkdown,
String parentId) |
RedditComments |
Reddit.commentsFor(String subreddit,
String linkId) |
RedditJsonMessage |
Reddit.delete(String fullname) |
List<RedditLink> |
Reddit.infoForId(String id) |
List<RedditLink> |
Reddit.listingFor(String subreddit,
String listingType) |
RedditJsonMessage |
Reddit.login(String userName,
String password)
Once this method is called the cookie returned is set as the session and will be added to all future calls
|
RedditAccount |
Reddit.meJson() |
List<RedditMessage> |
Reddit.messages(String inboxType) |
List<RedditComment> |
Reddit.moreChildrenFor(RedditComments theComments,
String desiredSort) |
List<RedditSubreddit> |
Reddit.subreddits(String byGrouping) |
Modifier and Type | Method and Description |
---|---|
RedditRequestResponse |
RedditRequestor.executeGet(RedditRequestInput input) |
RedditRequestResponse |
RedditRequestor.executePost(RedditRequestInput input) |
Modifier and Type | Method and Description |
---|---|
List<RedditAccount> |
RedditJsonParser.parseAccounts()
Parses all Account type Things from a given JSON object.
|
RedditComments |
RedditJsonParser.parseComments()
Comments are a strange beast.
|
RedditJsonMessage |
RedditJsonParser.parseJsonMessage()
This may not work for all Reddit API JSON response 'messages'
Sometimes the message is nested within a "json" key, as is the case for /api/login and /api/comment.
|
List<RedditLink> |
RedditJsonParser.parseLinks()
Parses JSON containing any number of Link type Things.
|
List<RedditMessage> |
RedditJsonParser.parseMessages()
Parses JSON containing any number of Message type Things.
|
List<RedditComment> |
RedditJsonParser.parseMoreChildren()
Parses JSON from a Reddit API morechildren call.
|
List<RedditSubreddit> |
RedditJsonParser.parseSubreddits()
Parses JSON containing any number of Subreddit type Things.
|
Copyright © 2013. All rights reserved.