This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| const url = 'https://www.papajohns.by/api/stock/codes'; | |
| const https = require("https"); | |
| https.get(url, res => { | |
| res.setEncoding("utf8"); | |
| let body = ""; | |
| res.on("data", data => { | |
| body += data; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POTATO - Картофельные дольки - От 15.00 рублей - Минск | |
| NIGHT, NIGHT1, NIGHT2 - Сырные палочки - От 15.00 рублей - Минск | |
| AWESOME - Супер Папа 23ТРАД - От 25.00 рублей - Минск | |
| AWESOME5, AWESOME7 - На выбор из 5 пицц 30ТРАД, 30ТОНК - От 33.00 рублей - Минск | |
| WONDER1 - Сырные Палочки - От 15.00 рублей - Минск | |
| WONDER7 - Картофельные Дольки - От 15.00 рублей - Минск | |
| WONDER35, WONDER28 - На выбор из 5 пицц 23ТРАД - От 33.00 рублей - Минск | |
| ВЕГЕТАРИАНСКАЯ - Вегетарианская 23ТРАД - От 15.00 рублей - Минск | |
| Промокоды - На выбор из 5 пицц 30ТРАД, 30ТОНК - От 35.00 рублей - Минск | |
| LOVE23 - На выбор любая пицца 23ТРАД - От 27.00 рублей - Минск |