Code Monkey home page Code Monkey logo

python-omegle's Introduction

Python-Omegle

Python-Omegle is an unofficial Python API for the Omegle text chat service.

Features include:

  • A high level, object-oriented API;
  • An interface to three different types of chats;
  • Support for over 90 languages;
  • Simple library design with great extensibility.

Python-Omegle was originally written in Python 3.6, and is confirmed to work on Python 3.6, but likely works on all Python 3 releases.

Getting Started

Requirements

Python-Omegle relies on the Requests library to function properly. If you don't have Requests installed yet, pip will install it automatically. Alternatively, you can install it yourself.

Installing

Installing Python-Omegle is very easy! Simply run:

pip install python-omegle

... or for a pip3 install:

pip3 install python-omegle

Running the tests

Some basic tests can be found in the 'tests' directory. Each chat type has its own class and therefore its own testing file. Let's test one of the classes:

cd tests/
python3 random_chat_test.py

If you wish to test all classes at once, simply run the following:

python3 all_tests.py

Documentation

Once you've installed Python-Omegle, it's time to take a look at the documentation, where you will find a step by step tutorial, some example programs and a complete API reference.


License

Python-Omegle is licensed under the MIT license. The full license text can be found here.


Disclaimer

I can in no way be held responsible for your actions with regards to Python-Omegle. Python-Omegle exists for educational purposes only. Use this tool responsibly. Do not use it to engage in illegal activities, and do not use it to spam the Omegle website. Also take a look at the Omegle terms of service, at the bottom of the page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.