Class: Trakt::Activity
Overview
Refer to the api doc on what parameters these functions take. trakt.tv/api-docs/activity-community For eaxmple, the current description for community reads:
http://api.trakt.tv/activity/.format/apikey/types/actions/start_ts/end_ts
So you just do: trakt.activity.community(<types>,<actions>,<start_ts>,<end_ts>)
Instance Attribute Summary
Attributes included from Connection
#trakt
Instance Method Summary
collapse
Methods included from Connection
#initialize, #require_settings
Instance Method Details
10
11
12
|
# File 'lib/trakt/activity.rb', line 10
def (*args)
get_with_args('/activity/community.json/', *args)
end
|
#episodes(*args) ⇒ Object
13
14
15
|
# File 'lib/trakt/activity.rb', line 13
def episodes(*args)
get_with_args('/activity/episodes.json/', *args)
end
|
#friends(*args) ⇒ Object
16
17
18
|
# File 'lib/trakt/activity.rb', line 16
def friends(*args)
get_with_args('/activity/friends.json/', *args)
end
|
#movies(*args) ⇒ Object
19
20
21
|
# File 'lib/trakt/activity.rb', line 19
def movies(*args)
get_with_args('/activity/movies.json/', *args)
end
|
#seasons(*args) ⇒ Object
22
23
24
|
# File 'lib/trakt/activity.rb', line 22
def seasons(*args)
get_with_args('/activity/seasons.json/', *args)
end
|
#shows(*args) ⇒ Object
25
26
27
|
# File 'lib/trakt/activity.rb', line 25
def shows(*args)
get_with_args('/activity/shows.json/', *args)
end
|
#user(*args) ⇒ Object
28
29
30
|
# File 'lib/trakt/activity.rb', line 28
def user(*args)
get_with_args('/activity/user.json/', *args)
end
|