Django models and tools for easy icecat importing
Project description
django-icecat
=============
Django Icecat integration
Documentation
=============
Be sure to checkout the official [IceCat documentation](https://nl.icecat.biz/forum.cgi?post=3331) before you start with importing any of the data.
Installation
============
Install the package, and add it to your applications:
```python
INSTALLED_APPS = (
...
'icecat',
...
)
```
Add your login credentials in settings.py
```python
# Required:
ICECAT_API_USERNAME = 'xyz'
ICECAT_API_PASSWORD = 'foobar'
# Optional:
ICECAT_API_LANGUAGE = 1 # The language you want to import, defaults to 1 (EN), NL = 2, See [LanguageList.xml](https://data.icecat.biz/export/level4/refs/LanguageList.xml.gz) for other languages
ICECAT_TMP_PATH = '/tmp' # The path where the xml files will be stored for faster access.
```
Be sure to run the migrations:
```bash
$ ./application/manage.py migrate icecat
```
And you can run the commands:
```bash
$ ./application/manage.py import_categories
$ ./application/manage.py import_suppliers
$ ./application/manage.py import_products [path to index or daily delta]
```
If you want to import all the products, it is advised to first import the categories and suppliers. Also: be sure to save up on Starbucks coupons, as a total product import can take quite a while.
TODO
====
Lots :)
Requirements
============
South, lxml, ElementTree, Requests
=============
Django Icecat integration
Documentation
=============
Be sure to checkout the official [IceCat documentation](https://nl.icecat.biz/forum.cgi?post=3331) before you start with importing any of the data.
Installation
============
Install the package, and add it to your applications:
```python
INSTALLED_APPS = (
...
'icecat',
...
)
```
Add your login credentials in settings.py
```python
# Required:
ICECAT_API_USERNAME = 'xyz'
ICECAT_API_PASSWORD = 'foobar'
# Optional:
ICECAT_API_LANGUAGE = 1 # The language you want to import, defaults to 1 (EN), NL = 2, See [LanguageList.xml](https://data.icecat.biz/export/level4/refs/LanguageList.xml.gz) for other languages
ICECAT_TMP_PATH = '/tmp' # The path where the xml files will be stored for faster access.
```
Be sure to run the migrations:
```bash
$ ./application/manage.py migrate icecat
```
And you can run the commands:
```bash
$ ./application/manage.py import_categories
$ ./application/manage.py import_suppliers
$ ./application/manage.py import_products [path to index or daily delta]
```
If you want to import all the products, it is advised to first import the categories and suppliers. Also: be sure to save up on Starbucks coupons, as a total product import can take quite a while.
TODO
====
Lots :)
Requirements
============
South, lxml, ElementTree, Requests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-icecat-0.1.1.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-icecat-0.1.1.tar.gz.
File metadata
- Download URL: django-icecat-0.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0dbdbe3ddef079dd3af22fa8acb10704587bd7b75b3724dc83f455b1df125b1
|
|
| MD5 |
94a34e6fd6d5d4e4c9f6c803c0944589
|
|
| BLAKE2b-256 |
6e76092495b72f0412de878150b46529a951aa40e88982b452a555e61c2c68a9
|
File details
Details for the file django-icecat-0.1.1.macosx-10.8-intel.exe.
File metadata
- Download URL: django-icecat-0.1.1.macosx-10.8-intel.exe
- Upload date:
- Size: 76.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb61af027d6c190eb25c00657811c0b6f6ca2edf3c330889e31b60863f60b2a
|
|
| MD5 |
e8d4374802e35805c6ac5e74f43bed35
|
|
| BLAKE2b-256 |
4912fa5f5647136083bef1f3762cf9a193338926bb938bba210eb73e2727c37e
|