class Twitter::REST::Client
- Twitter::REST::Client
- Reference
- Object
Included Modules
Defined in:
twitter/rest/client.crConstant Summary
-
Host =
"api.twitter.com"
Constructors
Instance Method Summary
- #get(path : String, params = {} of String => String, host = Host)
- #post(path : String, form = {} of String => String, host = Host)
- #user_agent : String?
- #user_agent=(user_agent : Nil | String)
Instance methods inherited from module Twitter::REST::Timelines
home_timeline(options = {} of String => String)
home_timeline,
mentions_timeline(options = {} of String => String)
mentions_timeline,
retweets_of_me(options = {} of String => String)
retweets_of_me,
user_timeline(user_id : Int32, options = {} of String => String)user_timeline(screen_name : String, options = {} of String => String) user_timeline
Instance methods inherited from module Twitter::REST::Users
user(user_id : Int32, options = {} of String => String)user(screen_name : String, options = {} of String => String)
user(options = {} of String => String) user, user_search(query : String, options = {} of String => String) user_search, users(user_ids : Array(Int32), options = {} of String => String)
users(screen_names : Array(String), options = {} of String => String) users
Constructor Detail
def self.new(consumer_key : String, consumer_secret : String, access_token : String, access_token_secret : String, user_agent : Nil | String = nil)
#