snoobert/reddit
Vartan Benohanian def7e3bdb7 Chage NewRequest methods, add multi description kind to thing
Since Reddit's API accepts form data as the body for most of its
endpoints, it made sense to me to make the default NewRequest method
set the request body as form data (if provided of course). The
NewJSONRequest method can accept a JSON body.

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
2020-09-09 23:02:06 -04:00
..
account.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
account_test.go Add Listing/KarmaList to thing struct, tweak anonymous structs 2020-09-01 22:35:28 -04:00
collection.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
collection_test.go Change setup method signature for tests, no global vars 2020-08-23 22:34:59 -04:00
comment.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
comment_test.go Change variable name 2020-08-29 14:25:12 -04:00
emoji.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
emoji_test.go Change setup method signature for tests, no global vars 2020-08-23 22:34:59 -04:00
errors.go Move everything to new reddit/ folder 2020-08-20 14:37:59 -04:00
flair.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
flair_test.go Create, update, and reorder flair templates 2020-09-08 22:36:12 -04:00
gold.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
gold_test.go Change setup method signature for tests, no global vars 2020-08-23 22:34:59 -04:00
listings.go Add methods to ModerationService, attribute to Post, use go v1.15 2020-09-07 21:24:14 -04:00
listings_test.go Add methods to ModerationService, attribute to Post, use go v1.15 2020-09-07 21:24:14 -04:00
message.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
message_test.go Return lists for bans, wikibans, messages, etc. 2020-08-29 14:45:45 -04:00
moderation.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
moderation_test.go Add distinguishing methods 2020-09-07 22:26:52 -04:00
multi.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
multi_test.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
post-and-comment.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
post.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
post_test.go Add methods to ModerationService, attribute to Post, use go v1.15 2020-09-07 21:24:14 -04:00
reddit-oauth.go Return errors on nil credentials, move code around 2020-08-27 00:29:53 -04:00
reddit-options.go Add global DefaultClient (readonly), WithUserAgent option 2020-08-29 03:25:28 -04:00
reddit-options_test.go Add global DefaultClient (readonly), WithUserAgent option 2020-08-29 03:25:28 -04:00
reddit-user-agent.go Add global DefaultClient (readonly), WithUserAgent option 2020-08-29 03:25:28 -04:00
reddit.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
reddit_test.go Create WikiService 2020-09-03 23:25:16 -04:00
stream.go Revamp listing decoding, include after/before anchors in response 2020-08-29 14:23:37 -04:00
stream_test.go Change setup method signature for tests, no global vars 2020-08-23 22:34:59 -04:00
streamer.go Add streamer config, tests 2020-08-22 14:26:50 -04:00
subreddit.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
subreddit_test.go Add methods to ModerationService, attribute to Post, use go v1.15 2020-09-07 21:24:14 -04:00
things.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
timestamp.go Remove FromEnv option, a few todos 2020-08-27 18:23:29 -04:00
timestamp_test.go Move everything to new reddit/ folder 2020-08-20 14:37:59 -04:00
user.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
user_test.go Add methods to ModerationService, attribute to Post, use go v1.15 2020-09-07 21:24:14 -04:00
wiki.go Chage NewRequest methods, add multi description kind to thing 2020-09-09 23:02:06 -04:00
wiki_test.go Add methods to ModerationService, attribute to Post, use go v1.15 2020-09-07 21:24:14 -04:00