class Twitcr::Client

Included Modules

Defined in:

twitcr/client.cr

Constructors

Instance Method Summary

Instance methods inherited from module Twitcr::REST

get_token get_token, get_user_by_id(id : Int64) get_user_by_id, get_user_by_login(login : String) get_user_by_login, request(method : String, route : String, version = "5", headers = HTTP::Headers.new, body : String | Nil = nil) request

Constructor Detail

def self.new(client_secret : String, client_id : String) #

[View source]

Instance Method Detail

def client_id : String #

[View source]
def client_secret : String #

[View source]
def token : String | Nil #

[View source]
def user(name : String) #

[View source]
def user(id : Int64) #

[View source]
def user?(name : String) #

[View source]