Matt Baer
|
21dfda1c03
|
Add `updated` property on posts
|
5 years ago |
Matt Baer
|
253cf3cf19
|
Support retrieving auth'd user's collections
|
5 years ago |
Matt Baer
|
5e85229ef2
|
Fix collection_test log
|
5 years ago |
Matt Baer
|
ff3f1ff4c8
|
Support fetching user posts
|
5 years ago |
Matt Baer
|
9ca15ff6c3
|
Support logging out
|
5 years ago |
Matt Baer
|
663252fb00
|
Add Token getter
|
5 years ago |
Matt Baer
|
9589188422
|
Add URL property on Collection
|
5 years ago |
Matt Baer
|
c1d801f60d
|
Move OwnedPostParams fields into PostParams
|
5 years ago |
Matt Baer
|
0eb2666d0f
|
Support using custom User-Agent
|
5 years ago |
Matt Baer
|
813147cf6d
|
Support interacting with Tor hidden service
This uses a local proxy to communicate over Tor. Code is from the
writeas-cli.
|
5 years ago |
Matt Baer
|
b9ad92a1e1
|
Fix GetPost test looking for dev post
|
5 years ago |
Matt Baer
|
f33e2ee887
|
Support interacting with dev API
|
5 years ago |
Matt Baer
|
64dec060b2
|
Merge pull request #7 from ProfessorTom/remove_unreachable_code
removed unreachable code
|
5 years ago |
Matt Baer
|
159315bfd1
|
Merge pull request #6 from ProfessorTom/fix_error_format_verbs
use correct verb for error formatting
|
5 years ago |
Tomas Gallucci
|
bbb412e20d
|
removed unreachable code
|
5 years ago |
Tomas Gallucci
|
4d5bb5a8b0
|
use correct verb for error formatting
|
5 years ago |
Matt Baer
|
af709fa4e1
|
Alter guidelines to request documenting only exported funcs
|
6 years ago |
Matt Baer
|
fbe1c5830b
|
Add expected output on examples
|
6 years ago |
Matt Baer
|
b2c6f21081
|
Make README example more cohesive
|
6 years ago |
Matt Baer
|
1864082f94
|
Add post creation GoDoc example
|
6 years ago |
Matt Baer
|
c683b3c46e
|
Add UserSubscription struct
|
6 years ago |
Matt Baer
|
8d18951a99
|
Rearrange collection.go func order
|
6 years ago |
Matt Baer
|
f4196014b5
|
Support fetching collection posts
This closes #3
|
6 years ago |
Matt Baer
|
0b345f879d
|
Add GitHub issue template
|
6 years ago |
Matt Baer
|
16f713f560
|
Mention that Crosspost parameter is only for post creation
|
6 years ago |
Matt Baer
|
71e8a2f11a
|
Support publishing posts to a collection
|
6 years ago |
Matt Baer
|
8425a91fe1
|
Fix `else` block lint errors
|
6 years ago |
Matt Baer
|
ecf5bd883a
|
Use new API docs URL
writeas.github.io/docs -> developer.write.as/docs/api
|
6 years ago |
Matt Baer
|
7f9e52b4df
|
Add documentation for ClaimPostResult
|
6 years ago |
Matt Baer
|
d69be33765
|
Use fmt.Errorf instead of errors.New(...)
|
6 years ago |
Matt Baer
|
3d5b021104
|
Add package-level comment
|
6 years ago |
Matt Baer
|
6c9010c924
|
Fix GetCollection example signature
|
6 years ago |
Matt Baer
|
90e9560c81
|
Add GetCollection example
|
6 years ago |
Matt Baer
|
07854c5fd7
|
Fix CreatePost tests
Previously, PostParams wasn't properly initialized.
|
6 years ago |
Matt Baer
|
4846285bde
|
Support claiming anonymous posts
|
7 years ago |
Matt Baer
|
ba05f3ff99
|
Support user authentication
|
7 years ago |
Matt Baer
|
8725cd2012
|
Support creating a collection
|
7 years ago |
Matt Baer
|
f47bf30fe3
|
Support collection fetching
|
7 years ago |
Matt Baer
|
6488d9c0cd
|
Add GoDoc link / badge
|
7 years ago |
Matt Baer
|
15e10296a6
|
Fix and add comments
|
7 years ago |
Matt Baer
|
e9fb773d56
|
Use PUT for updating posts
|
7 years ago |
Matt Baer
|
436e840f2e
|
Catch delete's 204 success response
|
7 years ago |
Matt Baer
|
352395e604
|
Remove url log statement
|
7 years ago |
Matt Baer
|
cc0a705d00
|
Add README and LICENSE
|
7 years ago |
Matt Baer
|
89c2661aed
|
Support deleting posts
Plus break up internal request building so we can optionally send query
parameters with some requests (like DELETEs!)
|
7 years ago |
Matt Baer
|
8a9ac652f2
|
Support updating posts
Plus change Post's ModifyToken to Token.
|
7 years ago |
Matt Baer
|
0376852c2f
|
Move `token` NewClient param to setter
|
7 years ago |
Matt Baer
|
d2110756cd
|
Support creating a post
Plus fix Client post func and rename SubmittedPost to PostParams.
|
7 years ago |
Matt Baer
|
04c8b73524
|
Support API v2
Includes ability to make authenticated requests and get posts.
|
7 years ago |
Matt Baer
|
db14dac00e
|
Support HTTPS API
Backend now uses a cipher suite that Go supports.
|
8 years ago |