Commit Graph

169 Commits

Author SHA1 Message Date
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
mattn
66d7818c64 Merge pull request #7 from 178inaba/method_const
Fix method string to const
2017-04-15 00:09:39 +09:00
Yasuhiro Matsumoto
aa81cb8318 add instance 2017-04-15 00:00:17 +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
0206b94abc add .gitignore 2017-04-14 23:47:04 +09:00
Yasuhiro Matsumoto
9b32db08fb add missing file 2017-04-14 23:46:15 +09:00
Yasuhiro Matsumoto
6ca42017b9 separate files 2017-04-14 23:45:18 +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
0aff4ad4fc add README.md 2017-04-14 20:18:33 +09:00
Yasuhiro Matsumoto
d57df64d26 add test 2017-04-14 20:05:18 +09:00
Yasuhiro Matsumoto
47ae1f78c2 add test 2017-04-14 19:55:52 +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
caf87d1d37 add LICENSE 2017-04-14 19:22:24 +09:00
Yasuhiro Matsumoto
d14072e12b go vet 2017-04-14 19:20:23 +09:00
Yasuhiro Matsumoto
aaa63c0e52 add test 2017-04-14 19:16:18 +09:00
Yasuhiro Matsumoto
0eccbb0514 add test 2017-04-14 18:53:14 +09:00
Yasuhiro Matsumoto
dc7a04a5b5 add test 2017-04-14 18:19:38 +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
Yasuhiro Matsumoto
4a9d0067e2 fix badge 2017-04-14 17:50:12 +09:00
Yasuhiro Matsumoto
f765667837 add test 2017-04-14 17:47:15 +09:00
mattn
73f943d2d3 Merge pull request #6 from 178inaba/following
Add GetAccountFollowing
2017-04-14 17:42:11 +09:00
Yasuhiro Matsumoto
bfa6468c73 add test 2017-04-14 17:37:59 +09:00
Yasuhiro Matsumoto
dd7163e01e return error when not 200 for GET method 2017-04-14 17:37:50 +09:00
Yasuhiro Matsumoto
d1e98eb548 add test 2017-04-14 17:30:27 +09:00
Yasuhiro Matsumoto
c3ca0792f5 add test 2017-04-14 17:26:22 +09:00
Yasuhiro Matsumoto
d168c8b4a6 tests for the coverages 2017-04-14 17:21:31 +09:00
Yasuhiro Matsumoto
15c320b75d add badges 2017-04-14 17:15:42 +09:00
Yasuhiro Matsumoto
b0f39aaf95 add .travis.yml 2017-04-14 17:14:55 +09:00
Yasuhiro Matsumoto
1d9ff623fc add test 2017-04-14 17:10:20 +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
mattn
0750bedc85 Merge pull request #5 from 178inaba/current_user
Add GetAccountCurrentUser
2017-04-14 16:18:13 +09:00
mattn
6e212330bc Merge pull request #4 from zetamatta/master
Revert timeline's sort-order with no-options
2017-04-14 16:17:38 +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
82b81720bd small refactoring 2017-04-14 12:34:13 +09:00
Yasuhiro Matsumoto
15f78b2da3 small refactoring 2017-04-14 12:33:12 +09:00
Yasuhiro Matsumoto
e8fd17094f small refactoring 2017-04-14 12:30:13 +09:00
Yasuhiro Matsumoto
0281f9c746 golint & go vet 2017-04-14 12:23:45 +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