class Twitter::REST::Client

Included Modules

Defined in:

twitter/rest/client.cr

Constant Summary

Host = "api.twitter.com"

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def get(path : String, params = {} of String => String, host = Host) #

[View source]
def post(path : String, form = {} of String => String, host = Host) #

[View source]
def user_agent : String? #

[View source]
def user_agent=(user_agent : Nil | String) #

[View source]