Class: NekosLife::Client
- Inherits:
-
Object
- Object
- NekosLife::Client
- Defined in:
- lib/nekos.rb
Overview
The main module for interaction
Instance Method Summary collapse
-
#anal ⇒ String
Gets an image of ‘anal`.
-
#avatar ⇒ String
Gets an image of ‘avatar`.
-
#bj ⇒ String
Gets an image of ‘bj`.
-
#blowjob ⇒ String
Gets an image of ‘blowjob`.
-
#boobs ⇒ String
Gets an image of ‘boobs`.
-
#cat ⇒ String
Gets an ascii cat.
-
#chat(text, owo = false) ⇒ String
Chat with the API.
-
#classic ⇒ String
Gets an image of ‘classic`.
-
#cuddle ⇒ String
Gets an image of ‘cuddle`.
-
#cum ⇒ String
Gets an image of ‘cum`.
-
#cum_jpg ⇒ String
Gets an image of ‘cum_jpg`.
-
#eight_ball ⇒ EightBallResponse
(also: #eightball)
Gets an ascii cat.
-
#ero ⇒ String
Gets an image of ‘ero`.
-
#erofeet ⇒ String
(also: #ero_feet)
Gets an image of ‘erofeet`.
-
#erok ⇒ String
(also: #erokitsune)
Gets an image of ‘erok`.
-
#erokemo ⇒ String
(also: #ero_kemo)
Gets an image of ‘erokemo`.
-
#eron ⇒ String
(also: #ero_neko)
Gets an image of ‘eron`.
-
#eroyuri ⇒ String
(also: #ero_yuri)
Gets an image of ‘eroyuri`.
-
#fact ⇒ String
Gets a random fact.
-
#feed ⇒ String
Gets an image of ‘feed`.
-
#feet ⇒ String
Gets an image of ‘feet`.
-
#feetg ⇒ String
Gets an image of ‘feetg`.
-
#femdom ⇒ String
Gets an image of ‘femdom`.
-
#fox_girl ⇒ String
Gets an image of ‘fox_girl`.
-
#futanari ⇒ String
Gets an image of ‘futanari`.
-
#gasm ⇒ String
Gets an image of ‘gasm`.
-
#gecg ⇒ String
Gets an image of ‘gecg`.
-
#hentai ⇒ String
Gets an image of ‘hentai`.
-
#holo ⇒ String
Gets an image of ‘holo`.
-
#holoero ⇒ String
(also: #holo_ero, #ero_holo)
Gets an image of ‘holoero`.
-
#hololewd ⇒ String
(also: #holo_lewd, #lwed_holo)
Gets an image of ‘hololewd`.
-
#hug ⇒ String
Gets an image of ‘hug`.
-
#kemonomimi ⇒ String
Gets an image of ‘kemonomimi`.
-
#keta ⇒ String
Gets an image of ‘keta`.
-
#kiss ⇒ String
Gets an image of ‘kiss`.
-
#kuni ⇒ String
Gets an image of ‘kuni`.
-
#les ⇒ String
Gets an image of ‘les`.
-
#lewd ⇒ String
Gets an image of ‘lewd`.
-
#lewdk ⇒ String
(also: #lewd_kitsune)
Gets an image of ‘lewdk`.
-
#lewdkemo ⇒ String
(also: #lewd_kemo)
Gets an image of ‘lewdkemo`.
-
#lizard ⇒ String
Gets an image of ‘lizard`.
-
#meow ⇒ String
Gets an image of ‘meow`.
-
#neko ⇒ String
Gets an image of ‘neko`.
-
#ngif ⇒ String
(also: #neko_gif)
Gets an image of ‘ngif`.
-
#nsfw_avatar ⇒ String
Gets an image of ‘nsfw_avatar`.
-
#nsfw_neko_gif ⇒ String
Gets an image of ‘nsfw_neko_gif`.
-
#owoify(text) ⇒ String
OwOifys text.
-
#pat ⇒ String
Gets an image of ‘pat`.
-
#poke ⇒ String
Gets an image of ‘poke`.
-
#pussy ⇒ String
Gets an image of ‘pussy`.
-
#pussy_jpg ⇒ String
Gets an image of ‘pussy_jpg`.
-
#pwankg ⇒ String
Gets an image of ‘pwankg`.
-
#Random_hentai_gif ⇒ String
Gets an image of ‘Random_hentai_gif`.
-
#slap ⇒ String
Gets an image of ‘slap`.
-
#smallboobs ⇒ String
(also: #small_boobs)
Gets an image of ‘smallboobs`.
-
#solo ⇒ String
Gets an image of ‘solo`.
-
#solog ⇒ String
(also: #solo_girl)
Gets an image of ‘solog`.
-
#spank ⇒ String
Gets an image of ‘spank`.
-
#tickle ⇒ String
Gets an image of ‘tickle`.
-
#tits ⇒ String
Gets an image of ‘tits`.
-
#trap ⇒ String
Gets an image of ‘trap`.
-
#waifu ⇒ String
Gets an image of ‘waifu`.
-
#wallpaper ⇒ String
Gets an image of ‘wallpaper`.
-
#why ⇒ String
Gets a random question.
-
#yuri ⇒ String
Gets an image of ‘yuri`.
Instance Method Details
#anal ⇒ String
Gets an image of ‘anal`
51 |
# File 'lib/nekos.rb', line 51 add_image_endpoint('anal') |
#avatar ⇒ String
Gets an image of ‘avatar`
54 |
# File 'lib/nekos.rb', line 54 add_image_endpoint('avatar') |
#bj ⇒ String
Gets an image of ‘bj`
44 |
# File 'lib/nekos.rb', line 44 add_image_endpoint('bj') |
#blowjob ⇒ String
Gets an image of ‘blowjob`
58 |
# File 'lib/nekos.rb', line 58 add_image_endpoint('blowjob') |
#boobs ⇒ String
Gets an image of ‘boobs`
76 |
# File 'lib/nekos.rb', line 76 add_image_endpoint('boobs') |
#cat ⇒ String
Gets an ascii cat
126 127 128 |
# File 'lib/nekos.rb', line 126 def cat API.get('cat')['cat'] end |
#chat(text, owo = false) ⇒ String
Chat with the API
108 109 110 |
# File 'lib/nekos.rb', line 108 def chat(text, owo = false) API.get("chat?text=#{URI.encode(text)}#{'&owo=true' if owo}")['response'] end |
#classic ⇒ String
Gets an image of ‘classic`
65 |
# File 'lib/nekos.rb', line 65 add_image_endpoint('classic') |
#cuddle ⇒ String
Gets an image of ‘cuddle`
73 |
# File 'lib/nekos.rb', line 73 add_image_endpoint('cuddle') |
#cum ⇒ String
Gets an image of ‘cum`
30 |
# File 'lib/nekos.rb', line 30 add_image_endpoint('cum') |
#cum_jpg ⇒ String
Gets an image of ‘cum_jpg`
43 |
# File 'lib/nekos.rb', line 43 add_image_endpoint('cum_jpg') |
#eight_ball ⇒ EightBallResponse Also known as: eightball
Gets an ascii cat
132 133 134 |
# File 'lib/nekos.rb', line 132 def eight_ball EightBallResponse.new(API.get('8ball')) end |
#ero ⇒ String
Gets an image of ‘ero`
80 |
# File 'lib/nekos.rb', line 80 add_image_endpoint('ero') |
#erofeet ⇒ String Also known as: ero_feet
Gets an image of ‘erofeet`
55 |
# File 'lib/nekos.rb', line 55 add_image_endpoint('erofeet') |
#erok ⇒ String Also known as: erokitsune
Gets an image of ‘erok`
74 |
# File 'lib/nekos.rb', line 74 add_image_endpoint('erok') |
#erokemo ⇒ String Also known as: ero_kemo
Gets an image of ‘erokemo`
31 |
# File 'lib/nekos.rb', line 31 add_image_endpoint('erokemo') |
#eron ⇒ String Also known as: ero_neko
Gets an image of ‘eron`
42 |
# File 'lib/nekos.rb', line 42 add_image_endpoint('eron') |
#eroyuri ⇒ String Also known as: ero_yuri
Gets an image of ‘eroyuri`
41 |
# File 'lib/nekos.rb', line 41 add_image_endpoint('eroyuri') |
#fact ⇒ String
Gets a random fact
114 115 116 |
# File 'lib/nekos.rb', line 114 def fact API.get('fact')['fact'] end |
#feed ⇒ String
Gets an image of ‘feed`
39 |
# File 'lib/nekos.rb', line 39 add_image_endpoint('feed') |
#feet ⇒ String
Gets an image of ‘feet`
22 |
# File 'lib/nekos.rb', line 22 add_image_endpoint('feet') |
#feetg ⇒ String
Gets an image of ‘feetg`
29 |
# File 'lib/nekos.rb', line 29 add_image_endpoint('feetg') |
#femdom ⇒ String
Gets an image of ‘femdom`
70 |
# File 'lib/nekos.rb', line 70 add_image_endpoint('femdom') |
#fox_girl ⇒ String
Gets an image of ‘fox_girl`
75 |
# File 'lib/nekos.rb', line 75 add_image_endpoint('fox_girl') |
#futanari ⇒ String
Gets an image of ‘futanari`
25 |
# File 'lib/nekos.rb', line 25 add_image_endpoint('futanari') |
#gasm ⇒ String
Gets an image of ‘gasm`
49 |
# File 'lib/nekos.rb', line 49 add_image_endpoint('gasm') |
#gecg ⇒ String
Gets an image of ‘gecg`
40 |
# File 'lib/nekos.rb', line 40 add_image_endpoint('gecg') |
#hentai ⇒ String
Gets an image of ‘hentai`
53 |
# File 'lib/nekos.rb', line 53 add_image_endpoint('hentai') |
#holo ⇒ String
Gets an image of ‘holo`
56 |
# File 'lib/nekos.rb', line 56 add_image_endpoint('holo') |
#holoero ⇒ String Also known as: holo_ero, ero_holo
Gets an image of ‘holoero`
61 |
# File 'lib/nekos.rb', line 61 add_image_endpoint('holoero') |
#hololewd ⇒ String Also known as: holo_lewd, lwed_holo
Gets an image of ‘hololewd`
26 |
# File 'lib/nekos.rb', line 26 add_image_endpoint('hololewd') |
#hug ⇒ String
Gets an image of ‘hug`
79 |
# File 'lib/nekos.rb', line 79 add_image_endpoint('hug') |
#kemonomimi ⇒ String
Gets an image of ‘kemonomimi`
47 |
# File 'lib/nekos.rb', line 47 add_image_endpoint('kemonomimi') |
#keta ⇒ String
Gets an image of ‘keta`
57 |
# File 'lib/nekos.rb', line 57 add_image_endpoint('keta') |
#kiss ⇒ String
Gets an image of ‘kiss`
69 |
# File 'lib/nekos.rb', line 69 add_image_endpoint('kiss') |
#kuni ⇒ String
Gets an image of ‘kuni`
66 |
# File 'lib/nekos.rb', line 66 add_image_endpoint('kuni') |
#les ⇒ String
Gets an image of ‘les`
32 |
# File 'lib/nekos.rb', line 32 add_image_endpoint('les') |
#lewd ⇒ String
Gets an image of ‘lewd`
38 |
# File 'lib/nekos.rb', line 38 add_image_endpoint('lewd') |
#lewdk ⇒ String Also known as: lewd_kitsune
Gets an image of ‘lewdk`
34 |
# File 'lib/nekos.rb', line 34 add_image_endpoint('lewdk') |
#lewdkemo ⇒ String Also known as: lewd_kemo
Gets an image of ‘lewdkemo`
27 |
# File 'lib/nekos.rb', line 27 add_image_endpoint('lewdkemo') |
#lizard ⇒ String
Gets an image of ‘lizard`
62 |
# File 'lib/nekos.rb', line 62 add_image_endpoint('lizard') |
#meow ⇒ String
Gets an image of ‘meow`
36 |
# File 'lib/nekos.rb', line 36 add_image_endpoint('meow') |
#neko ⇒ String
Gets an image of ‘neko`
71 |
# File 'lib/nekos.rb', line 71 add_image_endpoint('neko') |
#ngif ⇒ String Also known as: neko_gif
Gets an image of ‘ngif`
35 |
# File 'lib/nekos.rb', line 35 add_image_endpoint('ngif') |
#nsfw_avatar ⇒ String
Gets an image of ‘nsfw_avatar`
48 |
# File 'lib/nekos.rb', line 48 add_image_endpoint('nsfw_avatar') |
#nsfw_neko_gif ⇒ String
Gets an image of ‘nsfw_neko_gif`
45 |
# File 'lib/nekos.rb', line 45 add_image_endpoint('nsfw_neko_gif') |
#owoify(text) ⇒ String
OwOifys text.
100 101 102 |
# File 'lib/nekos.rb', line 100 def owoify(text) API.get("owoify?text=#{URI.encode(text)}")['owo'] end |
#pat ⇒ String
Gets an image of ‘pat`
68 |
# File 'lib/nekos.rb', line 68 add_image_endpoint('pat') |
#poke ⇒ String
Gets an image of ‘poke`
50 |
# File 'lib/nekos.rb', line 50 add_image_endpoint('poke') |
#pussy ⇒ String
Gets an image of ‘pussy`
59 |
# File 'lib/nekos.rb', line 59 add_image_endpoint('pussy') |
#pussy_jpg ⇒ String
Gets an image of ‘pussy_jpg`
63 |
# File 'lib/nekos.rb', line 63 add_image_endpoint('pussy_jpg') |
#pwankg ⇒ String
Gets an image of ‘pwankg`
64 |
# File 'lib/nekos.rb', line 64 add_image_endpoint('pwankg') |
#Random_hentai_gif ⇒ String
Gets an image of ‘Random_hentai_gif`
77 |
# File 'lib/nekos.rb', line 77 add_image_endpoint('Random_hentai_gif') |
#slap ⇒ String
Gets an image of ‘slap`
52 |
# File 'lib/nekos.rb', line 52 add_image_endpoint('slap') |
#smallboobs ⇒ String Also known as: small_boobs
Gets an image of ‘smallboobs`
78 |
# File 'lib/nekos.rb', line 78 add_image_endpoint('smallboobs') |
#solo ⇒ String
Gets an image of ‘solo`
46 |
# File 'lib/nekos.rb', line 46 add_image_endpoint('solo') |
#solog ⇒ String Also known as: solo_girl
Gets an image of ‘solog`
28 |
# File 'lib/nekos.rb', line 28 add_image_endpoint('solog') |
#spank ⇒ String
Gets an image of ‘spank`
72 |
# File 'lib/nekos.rb', line 72 add_image_endpoint('spank') |
#tickle ⇒ String
Gets an image of ‘tickle`
37 |
# File 'lib/nekos.rb', line 37 add_image_endpoint('tickle') |
#tits ⇒ String
Gets an image of ‘tits`
60 |
# File 'lib/nekos.rb', line 60 add_image_endpoint('tits') |
#trap ⇒ String
Gets an image of ‘trap`
24 |
# File 'lib/nekos.rb', line 24 add_image_endpoint('trap') |
#waifu ⇒ String
Gets an image of ‘waifu`
67 |
# File 'lib/nekos.rb', line 67 add_image_endpoint('waifu') |
#wallpaper ⇒ String
Gets an image of ‘wallpaper`
33 |
# File 'lib/nekos.rb', line 33 add_image_endpoint('wallpaper') |
#why ⇒ String
Gets a random question
120 121 122 |
# File 'lib/nekos.rb', line 120 def why API.get('why')['why'] end |
#yuri ⇒ String
Gets an image of ‘yuri`
23 |
# File 'lib/nekos.rb', line 23 add_image_endpoint('yuri') |