All Projects → tomer8007 → Kik Bot Api Unofficial

tomer8007 / Kik Bot Api Unofficial

Licence: mit
Python API for writing unoffical Kik bots that act like humans

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Kik Bot Api Unofficial

Dep
[DEPRECATED] Use https://github.com/z0al/dependent-issues instead
Stars: ✭ 69 (-8%)
Mutual labels:  bot
Serverless Slackbot
A boilerplate Serverless Slackbot framework with a custom scripts folder (like Hubot)
Stars: ✭ 72 (-4%)
Mutual labels:  bot
Karmabot
🤖 A Multipurpose Discord Bot with a Music System & Utility commands used by 160K+ users!
Stars: ✭ 73 (-2.67%)
Mutual labels:  bot
Line Bot Sdk Perl
LINE Messaging API SDK for Perl
Stars: ✭ 69 (-8%)
Mutual labels:  bot
Webbybot
chatterbot written in es6 (es2015), fork from hubot
Stars: ✭ 71 (-5.33%)
Mutual labels:  bot
Distube
A Discord.js v12 module to simplify your music commands and play songs with audio filters on Discord without any API key. Support YouTube, SoundCloud, Bandcamp, Facebook, and 700+ more sites
Stars: ✭ 73 (-2.67%)
Mutual labels:  bot
Matrixcli
Command line matrix client
Stars: ✭ 69 (-8%)
Mutual labels:  bot
Cleverbot
iOS Messaging Application using Cleverbot and ReactorKit
Stars: ✭ 74 (-1.33%)
Mutual labels:  bot
Yukiko
powerful Discord bot that includes XP system, Leaderboard, Music, Welcome and farewell message, Moderation, and much more!
Stars: ✭ 72 (-4%)
Mutual labels:  bot
Prpr
GitHub pull requests' reaction bot
Stars: ✭ 73 (-2.67%)
Mutual labels:  bot
Create Discord Bot
Create Discord bots using a simple widget-based framework.
Stars: ✭ 70 (-6.67%)
Mutual labels:  bot
Jarvis On Messenger
💬 A community-driven python bot that aims to be as simple as possible to serve humans with their everyday tasks
Stars: ✭ 1,167 (+1456%)
Mutual labels:  bot
Mojo Weixin
使用Perl语言(不会没关系)编写的个人账号微信/weixin/wechat客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
Stars: ✭ 1,181 (+1474.67%)
Mutual labels:  bot
Laravel Botscout
Block malicious scripts using botscout.com protection for your laravel app
Stars: ✭ 69 (-8%)
Mutual labels:  bot
Tf2 Automatic
A free and open source, fully automated TF2 trading bot, advertising on backpack.tf using prices from prices.tf
Stars: ✭ 74 (-1.33%)
Mutual labels:  bot
Telegram Pm Chat Bot
Telegram Private Message Chat Bot
Stars: ✭ 69 (-8%)
Mutual labels:  bot
Frostybot Js
Frostybot-JS is a cryptocurrency trading API endpoint, designed to execute webhook or REST requests as orders on a variety of well-known exchanges. While primarily designed to automate your Tradingview strategies, Frostybot can also be integrated with any other software using webhooks or REST. Bitmex, FTX, Deribit and Binance are supported.
Stars: ✭ 72 (-4%)
Mutual labels:  bot
Botauth
Authentication middleware for the botframework
Stars: ✭ 74 (-1.33%)
Mutual labels:  bot
Tibot
TiBot — The Date and Time Bot
Stars: ✭ 74 (-1.33%)
Mutual labels:  bot
Basicbot
A basic example of a Discord Bot written in Python. (discord.py)
Stars: ✭ 73 (-2.67%)
Mutual labels:  bot

Kik Bot API

Use this library to develop bots for Kik Messenger that are essentially automated humans.

It basically lets you do the same things as the offical Kik app by pretending to be a real smartphone client; It communicates with Kik's servers at talk1110an.kik.com:5223 over a modified version of the XMPP protocol.

This is the new branch of this project and is recommended.

Installation and dependencies

First, make sure you are using Python 3.6+, not python 2.7. Second, just install it directly from GitHub:

git clone -b new https://github.com/tomer8007/kik-bot-api-unofficial
pip3 install ./kik-bot-api-unofficial

Usage

Examples are a great way to understand things. A good place to start is the examples/ directory.

It is as simple as:

from kik_unofficial.client import KikClient
from kik_unofficial.callbacks import KikClientCallback
import kik_unofficial.datatypes.xmpp.chatting as chatting

class EchoBot(KikClientCallback):
    def __init__(self):
        self.client = KikClient(self, "your_kik_username", "your_kik_password")

    def on_authenticated(self):
        self.client.request_roster() # request list of chat partners

    def on_chat_message_received(self, chat_message: chatting.IncomingChatMessage):
        self.client.send_chat_message(chat_message.from_jid, 'You said "{}"!'.format(chat_message.body))

Currently Supported Operations:

  • Log in with kik username and password, retrieve user information (such as email, name, etc).
  • Fetch chat partners information
  • Send text messages to users/groups and listen for incoming messages
  • Send and receive 'is-typing' status
  • Send and receive read receipts
  • Fetch group information (name, participants, etc.)
  • Admin groups (add, remove or ban members, etc)
  • Search for groups and join them [Experimental]
  • Receive media content: camera, gallery, stickers
  • Add a kik user as a friend
  • Send images (including GIFs, using a tendor.com API key)

Sending videos or recordings is not supported yet.

More functionality

Before investigating the format of certain requests/responses, it's worth checking if they are already documented in the Message Formats wiki page.

Troubleshooting

If you are on Windows and you are unable to install the lxml package, use the binary installers from PyPi here.

If you are using Termux, then use pkg install libxml2 libxslt to install lxml and pkg install zlib libpng libjpeg-turbo to install pillow dependencies.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].