GET /prices/get/?client_codes=6987840,5783801&retailers=superama,city_market&date=2020-04-01&page=12 HTTP/1.1
Host: prices-api.byprice.com
X-api-key: Client_read_key
This file contains 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
# Dependency - Pandas | |
from os import path | |
import pandas | |
RESOURCE_DIRECTORY = '/home/yogi/byprice/projects/geoprice-services/resources' | |
CLIENT_ID_FILENAME = 'mapping.txt' | |
This file contains 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
import logging | |
from typing import List | |
import numpy as np | |
import torch | |
import torch.functional as F | |
import torch.nn.functional as F | |
from torch.autograd import Variable | |
logger = logging.getLogger(__name__) |