class Ichigo::Client

Defined in:

ichigo/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_key : String) #

[View source]

Instance Method Detail

def generate_mask(masks : Array(Models::Sites) | Array(Int32)) : Int64 #

[View source]
def generate_mask(masks : Array(Int64)) : Int64 #

Seems to be working properly with indexes above 10. Looking into fixes.


[View source]
def search(url : String | Nil = nil, file : File | Nil | String | Nil | Path | Nil | IO | Nil = nil, mask : Array(Models::Sites) | Nil | Array(Int32) | Nil | Array(Int64) | Nil = nil, exclude_mask : Array(Models::Sites) | Nil | Array(Int32) | Nil | Array(Int64) | Nil = nil, site : Models::Sites | Int32 = Models::Sites::All, testmode : Bool = false, result_count : Int32 = 16) #

[View source]