Commit Graph

36 Commits

Author SHA1 Message Date
178inaba
a25056d2cc Add Content-Type header to doAPI 2017-04-16 00:47:23 +09:00
178inaba
c63f290928 Fix var name url to u 2017-04-15 04:36:27 +09:00
Yasuhiro Matsumoto
acb5a81b87 add GetStatus, GetStatusContext 2017-04-15 00:22:44 +09:00
Yasuhiro Matsumoto
aa99f8559a Merge branch 'master' of git://github.com/mattn/go-mastodon 2017-04-15 00:10:12 +09:00
Yasuhiro Matsumoto
746688274d implement structs 2017-04-15 00:10:04 +09:00
178inaba
9dee3fc07f Fix POST to http.MethodPost 2017-04-14 23:59:11 +09:00
178inaba
b4e56b6ff8 Fix GET to http.MethodGet 2017-04-14 23:56:07 +09:00
Yasuhiro Matsumoto
fa43a46aa5 separate files 2017-04-14 23:45:03 +09:00
Yasuhiro Matsumoto
2af857818d add some APIs for Accounts
* AccountFollow
* AccountUnfollow
* AccountBlock
* AccountUnblock
* AccountMute
* AccountUnmute
* GetAccountRelationship
* AccountsSearch
2017-04-14 23:37:29 +09:00
Yasuhiro Matsumoto
98c1da299f should not return 2017-04-14 19:30:15 +09:00
Yasuhiro Matsumoto
713996d9d8 separate func 2017-04-14 19:26:53 +09:00
Yasuhiro Matsumoto
9d84dcf8a7 fix doc 2017-04-14 19:22:56 +09:00
Yasuhiro Matsumoto
44a8f8e593 set urn:ietf:wg:oauth:2.0:oob if RedirectURIs is not set 2017-04-14 18:19:12 +09:00
mattn
73f943d2d3 Merge pull request #6 from 178inaba/following
Add GetAccountFollowing
2017-04-14 17:42:11 +09:00
Yasuhiro Matsumoto
dd7163e01e return error when not 200 for GET method 2017-04-14 17:37:50 +09:00
Yasuhiro Matsumoto
49f49b8b97 return error 2017-04-14 17:10:13 +09:00
178inaba
bcdd8d879b Add GetAccountFollowing 2017-04-14 16:41:47 +09:00
178inaba
1182d1e662 Fix comment of GetAccountCurrentUser 2017-04-14 15:56:24 +09:00
178inaba
9cace6b291 Add GetAccountCurrentUser 2017-04-14 15:46:21 +09:00
Yasuhiro Matsumoto
720344456d add GetFollowRequests 2017-04-14 14:20:22 +09:00
Yasuhiro Matsumoto
34a93da2c3 add Follow 2017-04-14 14:18:10 +09:00
Yasuhiro Matsumoto
2b246d789d fix text breaking by lines 2017-04-14 13:53:56 +09:00
Yasuhiro Matsumoto
a4d83d3b95 add GetAccountFollowers 2017-04-14 13:37:43 +09:00
Yasuhiro Matsumoto
23e9f80935 check error 2017-04-14 12:23:20 +09:00
Yasuhiro Matsumoto
d8dfefc0ed golint & go vet 2017-04-14 12:21:27 +09:00
Yasuhiro Matsumoto
bd23c855dd make API wrapper 2017-04-14 12:12:09 +09:00
Yasuhiro Matsumoto
7ef168e3dd add ErrorEvent 2017-04-14 11:49:52 +09:00
178inaba
5952b20812 Merge branch 'master' into account 2017-04-14 10:23:02 +09:00
Yasuhiro Matsumoto
ae1467926c add streaming 2017-04-14 09:32:46 +09:00
Yasuhiro Matsumoto
106cec241e cosmetic change 2017-04-14 09:03:32 +09:00
178inaba
4ee8ee7fd1 Add GetAccount 2017-04-14 02:39:34 +09:00
Yasuhiro Matsumoto
3de719ac60 authorize with scopes 2017-04-14 02:16:52 +09:00
Yasuhiro Matsumoto
48c393bd8b remove needless slash 2017-04-14 00:59:54 +09:00
178inaba
45acfc9ca1 Fix application register func to simple 2017-04-14 00:12:04 +09:00
178inaba
a1d54f563d Add a application registration 2017-04-13 21:45:44 +09:00
Yasuhiro Matsumoto
cf8a9bad6d first import 2017-04-13 16:47:00 +09:00