Skip to content

Instantly share code, notes, and snippets.

View Toyto's full-sized avatar

Andrew Komar Toyto

  • Unisport A/S
  • Denmark, Copenhagen
View GitHub Profile
# -*- coding: utf-8 -*-
# IT'S PYTHON2.7
# Check which pip version do you have: pip --version
# Then you need to install
# pip install requests
# -*- coding: utf-8 -*-
import time
import sys
import requests
import itertools
@Toyto
Toyto / ES
Created January 28, 2019 09:43
{
"products_da-alias": {
"mappings": {
"navigation_item": {
"_all": {
"enabled": false
},
"properties": {
"item_es_query": {
"type": "keyword"