From a1ab6215edbaf492492fac5f2a1c560d16ec2978 Mon Sep 17 00:00:00 2001 From: yvesf Date: Sat, 30 May 2009 15:59:58 +0000 Subject: bla git-svn-id: http://xapek.org/svn/common/omegle@1056 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- Documentation.txt | 49 ++++++++++++++++++++++++++++++++++--------------- omegle.py | 1 + 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/Documentation.txt b/Documentation.txt index b598928..426e6d1 100644 --- a/Documentation.txt +++ b/Documentation.txt @@ -1,9 +1,19 @@ -====== Tools -omegle.py - OmegleChat class and simple client -chat.py - more advanced client -proxy.py - connects two chats -injector.py - same as above - = do note abuse these tools, the following information = + __ __ + /\ \__/\ \ + _____ __ __\ \ ,_\ \ \___ ___ ___ + /\ '__`\/\ \/\ \\ \ \/\ \ _ `\ / __`\ /' _ `\ + \ \ \L\ \ \ \_\ \\ \ \_\ \ \ \ \/\ \L\ \/\ \/\ \ + \ \ ,__/\/`____ \\ \__\\ \_\ \_\ \____/\ \_\ \_\ + \ \ \/ `/___/> \\/__/ \/_/\/_/\/___/ \/_/\/_/ + \ \_\ /\___/ ___ _ __ ___ ___ __ _| | ___ + \/_/ \/__/ / _ \| '_ ` _ \ / _ \/ _` | |/ _ \ + | (_) | | | | | | __/ (_| | | __/ +====== Tools \___/|_| |_| |_|\___|\__, |_|\___| + omegle.py - OmegleChat class and simple client |___/ + chat.py - more advanced client + proxy.py - connects two chats + injector.py - same as above + = do note abuse these tools, the following information = ====== API Documentation ==== Connection @@ -18,11 +28,23 @@ All API-Calls return JSON-Data. The Returncode for success is "win", the errorcode is "fail". ==== Commands: - O --> /count - \|/ --> /start() <- id - / \ --> /send(id,msg) <- "win" - --> /disconect(id) <- "win" - --> /events(id) <- "[[msg1],...] + + + dooooooooooooooooop + d8 OMEGLE 8b + d8_______________8b + `""""""";"""""""""' + dP8L | + 8P 8b | + ,._ `8odP _o. | /count + `"YYbood8dPP' | <-- Online Users + '`d8 | /start + d8 | <-- id + 88. | /disconnect -> "id" + ,8P`Yb. | <-- "win"||"fail" + ,8' `Y8 | /events -> "id" + | <-- [["type,...],...] + | == /start - Start a conversation URL: /start @@ -76,7 +98,4 @@ METHOD: GET PARAM: {} RETURNS: 1234 - 1234 is the number of users online - - - + 1234 is the number of users online \ No newline at end of file diff --git a/omegle.py b/omegle.py index 04e7a37..fd4caef 100644 --- a/omegle.py +++ b/omegle.py @@ -97,6 +97,7 @@ class OmegleChat(RESTClient): if body == "win": self.is_confirmed = False self.id = None + self.conn.close() else: raise Exception("/disconnect; Bad response: %s" % body) -- cgit v1.2.1