Budget: 3200 UAH Deadline: 5 days
Здравствуйте. Готов сделать.
Есть портал поставщика с которого можно выгружать прайс в ручную или через API .
1. Из портала нужно наполнить сайт на prom.ua товарами ( около 1000 ) и сделать что бы цены и наличие синхронизировались автоматически.
2. Из prom.ua настроить выгрузку товаров на rozetka.ua через YML , под требования rozetka.ua с учетом всех характеристик товара.
Либо предложите варианты
https://xn--d1absfibdw.com.ua/
Budget: 3200 UAH Deadline: 5 days
Здравствуйте. Готов сделать.
Budget: 1600 UAH Deadline: 5 days
Здравствуйте. Уже работал с prom.ua 2 раза, один из заказов выполняю прямо сейчас. Смогу сделать программу для вас.
Budget: 3400 UAH Deadline: 5 days
напишу 2 конвертера
1 = $75
2 = $50
опыт таких разработок есть
примеры в портфолио
Freelancehunt
Budget: 2000 UAH Deadline: 5 days
Здравствуйте. Без проблем могу сделать такой скрипт, и настроить его, чтобы регулярно запускался и всё синхронизировал
Budget: 2000 UAH Deadline: 1 day
Здравствуйте! Готовы к сотрудничеству. Все детали можно обсудить в ЛС.
Budget: 2000 UAH Deadline: 5 days
Здравствуйте, буду рад сотрудничеству!
Мой Skype, Telegram: DmtSuvorov
Вот информация со страницы поставщика
Прайс-лист API
Вы можете получить данные по номенклатуре используе предоставленный интерфейс. Для этого необходимо пройти аутентификацию и запросить соответствующие данные.
Аутентификация (пример)
Вместо user1234 и pwd1234 используйте ваш логин и пароль от портала.
Запрос
curl -X POST -d "username=user1234&password=pwd1234" https://dlr.optim.ua/api/api-token-auth/Ответ
{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IktWMDY0ODMiLCJ1c2VyX2lkIjoxMjQ3LCJlbWFpbCI6ImRldi5vcHRpbUB1a3IubmV0IiwiZXhwIjoxNTQyNzQ0MzI4fQ.mkHGfKC983swjHRJPi0pNuvw1H-ddw1k9ccl5Ynlr-s"}В случае неверно указанных ученых данных
{"non_field_errors":["Невозможно войти с предоставленными учетными данными."]}Тестирование обращения после авторизации
Запрос
curl -H "Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IktWMDY0ODMiLCJ1c2VyX2lkIjoxMjQ3LCJlbWFpbCI6ImRldi5vcHRpbUB1a3IubmV0IiwiZXhwIjoxNTQyNzQ0MzI4fQ.mkHGfKC983swjHRJPi0pNuvw1H-ddw1k9ccl5Ynlr-s" https://dlr.optim.ua/api/test-data/Ответ
{"data":1}Получение данных прайс-листа
curl -H "Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IktWMDY0ODMiLCJ1c2VyX2lkIjoxMjQ3LCJlbWFpbCI6ImRldi5vcHRpbUB1a3IubmV0IiwiZXhwIjoxNTQyNzQ0MzI4fQ.mkHGfKC983swjHRJPi0pNuvw1H-ddw1k9ccl5Ynlr-s" https://dlr.optim.ua/api/pricelist/?payment_type=1Параметр payment_type - способ оплаты. 1 - наличный, 2 - безналичный.
Пример на PHP
function auth($host, $username, $password) { /** This is to get auth token providing username and password of a dealer @param $host string like 'https://dlr.optim.ua' @param $username @param $password @return token as a string **/ $url = $host .'/api/api-token-auth/'; $data = array('username' => $username, 'password' => $password); $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); if ($result === FALSE) { /* Handle error */ } $result = json_decode($result, true); return $result['token']; } function get_data($host, $token) { /** This is to get test data from API using the token. @host string like 'https://dlr.optim.ua' @token string obtain by auth() function @return data as a json string **/ $url = $host .'/api/test-data/'; $options = array( 'http' => array( 'header' => "Authorization: JWT $token\r\n", 'method' => 'GET' ) ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); if ($result === FALSE) { /* Handle error */ } return $result; } function get_price_list($host, $token, $payment_type) { /** This is to get test data from API using the token. @host string like 'https://dlr.optim.ua' @token string obtain by auth() function @payment_type int: 1 - cash, 2 - non cash @return data as a json string **/ $url = $host ."/api/pricelist/?payment_type=$payment_type"; $options = array( 'http' => array( 'header' => "Authorization: JWT $token\r\n", 'method' => 'GET' ) ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); if ($result === FALSE) { /* Handle error */ } return $result; } $host = "https://dlr.optim.ua"; $token = auth($host, "user1234", "password1234"); $data = get_data($host, $token); print($data); $data = get_price_list($host, $token, 2); print($data);Пример на Python
import requests def auth(host, username, password): """ This is to get auth token providing username and password of a dealer :param host: string like 'https://dlr.optim.ua' :param username: username :param password: password :return: token as string """ url = '%s/api/api-token-auth/' % host r = requests.post(url, data={'username': username, 'password': password}) return r.json()['token'] def get_test_data(host, token): """ This is to get test data from API using the token. :param host: host string like 'https://dlr.optim.ua' :param token: token string obtain by auth() function :return: data as a json string """ url = '%s/api/test-data/' % host headers = {'Authorization': 'JWT %s' % token} r = requests.get(url, headers=headers) return r.json() def get_price_list(host, token, payment_type): """ This is to get real data from API using the token. :param host: host string like 'https://dlr.optim.ua' :param token: token string obtain by auth() function :return: data as a json string """ url = '%s/api/pricelist/' % host headers = {'Authorization': 'JWT %s' % token} r = requests.get(url, headers=headers, params={"payment_type": payment_type}) return r.json() the_host = 'https://dlr.optim.ua' the_token = auth(the_host, 'user1234', 'password1234') data = get_test_data(the_host, the_token) print(data) data = get_price_list(the_host, the_token, payment_type=2) # payment_type = 1 (нал.) or 2 (безнал.) print(data)Структура возвращаемых данных
{ 'условный код модели': { 'structure_props': { # Классификация модели 'structure_item_alias':{'name': 'наименование', 'value': 'значение'} }, 'common_properties': { # Сандартные свойстава, такие как: наименование, бренд и т.д. 'common_item_alias':{'name': 'наименование', 'value': 'значение'} }, 'category_props': { # свойства модели, зависит от категории техники 'category_item_alias':{'name': 'наименование', 'value': 'значение'} }, 'remains': [ # остатки (могут отсутствовать, в случае если нет наличия) { "warehouse_name": "местонахождение склада", "warehouse_code": "условный код склада", "value": количество моделей на складе } ], # item remains 'prices': { # цены и валюта 'price_item_alias':{'name': 'наименование', 'value': 'значение'} }, # item prices 'description': { # краткое описание (может отсутствовать) 'description_item_alias':{'name': 'наименование', 'value': 'значение'} } } }
Добрый день !
Рассмотрю ваш проект - если еще актуально.
Есть веб-приложение формирования файла XML розетки.
Импорт XLS CSV XML -> XML-розетки. Есть версия и для прома. XML-прома -> XML-розетки. Детально пишите в личку и вышлите ваш файл. Оплата поэтапная.
Возможна выгрузка из базы стандартного движка магазина
типа Opencart, если подходит по правилам розетки.
В Демо-примере не работает профиль админа
http://xv.kl.com.ua/market/admin.php
логин = admin
пароль = rozetka
Если заинтересует - обращайтесь.
Hello. I am looking for a mentor in Linux. I have experience as a strong junior DevOps specialist, but Linux and Kubernetes are my weak points. While I have some project experience with Kubernetes, my interaction with Linux is very superficial. Creating something, adding, renaming, opening, etc. is clearly not enough. I need a mentor who can help me improve in this area. The main task is to ensure that the knowledge sticks in my head, possibly through some pet project, tasks, or something along those lines, rather than just "repeat after me." I have taken courses on my own, but they don't particularly "stick" in my head. Here is a rough list of what I think I need: - Linux/Unix systems — in-depth administration of operating systems, file systems, user and access rights management, processes and services (systemd), Bash scripting, logging, monitoring, security configuration, automation of administrative tasks; - Networking technologies — OSI model and TCP/IP stack, DNS, HTTP/HTTPS, SSL/TLS, SSH, VPN, load balancing, proxy servers, NAT, routing, network utilities (ping, traceroute, netstat, ss, tcpdump, curl), diagnosing and troubleshooting network issues; If Kubernetes can be added to this list, that would be great. Perhaps you can suggest something from your side. The format of the sessions, as I see it, is twice a week, meetings, discussions, consultations. More details can be your ideas and suggestions. Regarding the cost per hour or per month - please propose.
Development of a Power App, support for me as a beginner. Canvas App, assistance in developing the Screen Help in developing the data structure for the App Programming functions Assistance in creating Date-verse Tables