Skip to main content

Django Urbano Integration

Project description

django-urbano

Starting

These instructions will allow you to install the library in your python project.

Current features

  • Get tracking info.

Pre-requisitos

  • Python >= 3.7
  • Django >= 3
  • requests >= 2

Installation

  1. To get the latest stable release from PyPi:
pip install django-urbano

or

  1. From a build
git clone https://gitlab.com/linets/ecommerce/oms/integrations/django-urbano
cd {{project}}
python setup.py sdist

and, install in your project django

pip install {{path}}/django-urbano/dist/{{tar.gz file}}
  1. Settings in django project
DJANGO_URBANO = {
    'URBANO': {
        'BASE_URL': '<URBANO_BASE_URL>',
        'USER': '<URBANO_USER>',
        'PASSWORD': '<URBANO_PASSWORD>'
    }
}

Usage

  1. Get tracking info:
from urbano.handler import UrbanoHandler

handler = UrbanoHandler()

tracking_info = handler.get_tracking(<identifier>)

Project details


Download files

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

Source Distribution

django-urbano-1.0.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page