Closed sys1yagi closed 7 years ago
:exclamation: No coverage uploaded for pull request base (
master@07c3407
). Click here to learn what that means. The diff coverage is0%
.
@@ Coverage Diff @@
## master #50 +/- ##
=========================================
Coverage ? 61.29%
Complexity ? 147
=========================================
Files ? 43
Lines ? 633
Branches ? 60
=========================================
Hits ? 388
Misses ? 231
Partials ? 14
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...ain/java/com/sys1yagi/mastodon4j/api/Dispatcher.kt | 0% <0%> (ø) |
0 <0> (?) |
|
...va/com/sys1yagi/mastodon4j/api/method/Streaming.kt | 0% <0%> (ø) |
0 <0> (?) |
|
...n/java/com/sys1yagi/mastodon4j/api/Shutdownable.kt | 0% <0%> (ø) |
0 <0> (?) |
|
...ain/java/com/sys1yagi/mastodon4j/MastodonClient.kt | 0% <0%> (ø) |
0 <0> (?) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 07c3407...dcf0078. Read the comment docs.
example
access public api
MastodonClient.Builder(instanceName, OkHttpClient.Builder(), Gson())
.build()
use access token
MastodonClient.Builder(instanceName, OkHttpClient.Builder(), Gson())
.accessToken(accessToken)
.build()
use stream api
https://github.com/sys1yagi/mastodon4j/pull/50/files#diff-dc154e7737e8bc3c6c884536a5da5efbR29
MastodonClient.Builder(instanceName, OkHttpClient.Builder(), Gson())
.accessToken(accessToken)
.useStreamingApi()
.build()
Support Streaming API #19
mastodon4j
49
GET /api/v1/streaming/user
GET /api/v1/streaming/public
GET /api/v1/streaming/public/local
GET /api/v1/streaming/hashtag
GET /api/v1/streaming/hashtag/local
mastodon4j-rx
GET /api/v1/streaming/user
GET /api/v1/streaming/public
GET /api/v1/streaming/public/local
GET /api/v1/streaming/hashtag
GET /api/v1/streaming/hashtag/local
Other