Separate data from the site through the API and save it in XLSX
There is an API that releases results in JSON
It is necessary to obtain the data, process and store in the XML table.
More details about the script:
0) Authenticate on the website
1) Make parsing of goods and collect their ID
2) Go through this ID and collect data through the API
3) Structure of data
4) Save in XLSX
Парсинг данных производить через внутреннее API сайта с авторизацией.
1) Вводим логин и пароль для авторизации в веб версии скрипта.
2) Скрипт авторизовывается, получает данные о существующих магазинах в аккаунте. Предоставляет выбрать из какого магазина парсить товары.
3) Выбираем магазин для парсинга.
4) Скрипт собирает все ID товаров данного магазина.
5) Скрипт начинает парсинг данных по ID товаров.
Обращаемся к API с запросом включающий найденное ID товара.
Получаем ответ от API.
Нужные нам данные будут в этих ответах от API:
Вот какие данные там будут находится:https://pastein.ru/t/pq
https://pastein.ru/t/0q
Эти данные необходимо размещать в выходной файл XLSX.
В приложении прикрепил файл пример как данные должны быть сохранены.
- Обращу внимание, что из второго ответа важно правильно сохранить
"imageUrl" в соответствии с "skuTitle", на основе характеристики "Цвет".- Также "skuCharacteristic" как в примере размещать в 4-х столбцахskuCharacteristic1skuCharacteristic2skuCharacteristic3skuCharacteristic4И если в каком то товаре будут данные skuCharacteristic заполнять в эти столбцы, не обращая внимание на Title этой характеристики.
Как закончили сохранение данных по текущему ID товара, переходим к следующему ID. повторяем и сохраняем в этот же выходной файл.
После парсинга в выходном файле должно получиться столько строк, сколько всего будет найдено элементов
"skuTitle" в списке "skuList" всех пройденных товаров.
Applications 1
Client's review of cooperation with Oleksandr Klievtsov
Separate data from the site through the API and save it in XLSXThe work was done perfectly!
Alexander clearly understands the technical task from half a word, and also performs the work in a better way.
I recommend !
![]()
Freelancer's review of cooperation with client
Separate data from the site through the API and save it in XLSXIt is a pleasure to work with this customer.
TZ is clear.
All directions are well described and understood.
The customer is adequate
I recommend
-
281 3 0 Ready to work, it’s clear.
Experience in creating parsers
Just YouTube did it.
I will be pleased to cooperate
-
651 6 0 Hello to Anton.
For this money, work is like a task.
The further accompaniment.
It is possible to adjust the price and deadlines after familiarizing with all the details of the task.
-
270 6 0 Ready to fulfill your task. Experience working with third-party API 1.5 years, experience writing parsers 2 years.
He wrote his own libraries for integration with the Mango-office, Sipuni, Amosrm.
The database of iTunes.
The price and deadlines are called minimum, for a precise assessment you need to read the source.
If you have a limited budget, it’s not scary. We will be able to discuss and find the best solution.
-
Можно ссылку на источник
-
А что случилось с прошлым таким же проектом?
-
Current freelance projects in the category PHP
Integration of Blade article template | Laravel | Frontend
100 USD
Integration of Blade template for article | Laravel | Frontend Task Essence The site is built on Laravel. A ready HTML/CSS layout for a premium blog article page. It needs to be integrated into the existing Blade structure of the site. The design is ready. You are not designing… PHP, Web Programming ∙ 10 minutes back ∙ 19 proposals |
Implementation of a technical SEO audit on OpenCartGood day. Need to implement technical SEO fixes on the site softugo.com. The site is already developed but not fully launched yet. Platform: ocStore 3.0.2.0 / OpenCart + custom code. Hosting: Hostinger. Current PHP version: 7.3. (transition to PHP 8.2 is planned) A checklist… PHP, Web Programming ∙ 2 hours 12 minutes back ∙ 39 proposals |
Execution of work after SEO audit
334 USD
An experienced OpenCart developer is needed to perform SEO and technical improvements for the online store. Main tasks: Correction of the internal linking structure and menu. Adding links to the footer. Implementation of breadcrumbs with Schema.org microdata. Fixing the… PHP, Website Maintenance ∙ 3 days 1 hour back ∙ 61 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 5 days 22 hours back ∙ 29 proposals |
A WordPress site using the Kadence theme and Kadence Blocks.
223 USD
We need to create a website on WordPress using the Kadence theme and Kadence Blocks. There will be no online store (although it may be added in the future). We need a homepage and several internal pages. The graphics are already prepared, the layout structure is mostly defined,… Content Management Systems, PHP ∙ 7 days 8 hours back ∙ 38 proposals |