Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Telegram Bot for Oscar shops

Project description

CI: Coveralls Requirements Status



Documentation Status

Telegram Bot for Django-Oscar ecommerce.


The full documentation is at

This package uses django-telegram-bot, take a look to


Install django-oscar-telegram-bot:

pip install django-oscar-telegram-bot

Add it to your INSTALLED_APPS:

        'oscar_telegrambot', # this app
        'telegrambot', #  django-telegram-bot
        'rest_framework', # django-telegram-bot uses django-rest-framework

Configure in settings:

TELEGRAM_BOT_COMMANDS_CONF = "oscar_telegrambot.commands"

As other django-telegram-bot app set your Bots with admin panel.

Add url to have webhook:

url(r'^telegrambot/', include('telegrambot.urls', namespace="telegrambot")),

To set the webhook for telegram you need django.contrib.sites installed, SITE_ID configured in settings and with it correct value in the DB.

You can take a look to a demo repo using the sandbox in This demo is already installed in and you can test the bot


  • Wellcome and help commands
  • Unknown command handler
  • Categories list command
  • Products list command
  • Product detail command
  • Order list&detail command only when logged

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python


0.1.0 (2016-01-26)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-oscar-telegram-bot, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size django_oscar_telegram_bot-0.5.0-py2.py3-none-any.whl (12.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-oscar-telegram-bot-0.5.0.tar.gz (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page