Giter VIP home page Giter VIP logo

clicklist-client's People

Contributors

jayhogan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clicklist-client's Issues

Externalize cookies

The login method should return a cookie store. Modify all other methods to add the cookie store as a parameter. This will allow for externalized authentication session management.

Issue with my coding in Wix with the Kroger API

I am hoping I did it correctly, but the products aren't showing up correctly.

This is what I have keyed in the backend and I am unsure how to connect to Kroger...Help Please!!!

import {fetch} from 'wix-fetch';

var myHeaders = new "Headers"();
myHeaders.append("Accept", "application/json");
myHeaders.append("Authorization", "Bearer eyJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vYXBpLmtyb2dlci5jb20vdjEvLndlbGwta25vd24vandrcy5qc29uIiwia2lkIjoiWjRGZDNtc2tJSDg4aXJ0N0xCNWM2Zz09IiwidHlwIjoiSldUIn0.eyJzY29wZSI6InByb2R1Y3QuY29tcGFjdCIsImF1dGhBdCI6MTU4NjYzNDgyNTEyMjg3MDg0NiwiYXVkIjoidHJ1dmUtNmM4NzZmYjA1Njc2YjM4ZGI5NmNiNWY1YjUzOGE4ODI3ODQ4OTUwNDAwOTg4NTUwMjU2IiwiZXhwIjoxNTg2NjM2NjI1LCJpYXQiOjE1ODY2MzQ4MjAsImlzcyI6ImFwaS5rcm9nZXIuY29tIiwic3ViIjoiZjVkODFhMzEtYzFjNi00OGJlLWEwNjYtNDQwMjAyNDQxNzhhIn0.RdIxQb6CST5_ZrH6CH3Ut9KqgVCxXVUvwrsJZbKFxHDkRlkM6KX866fkWiCEjPHbOXFm6KxVT7Cg69Efxkj-oCNe4Tq8LJcpZ8Q6tyv6YPTh0L7rTpFndTy-g6YZm2Pe_FLPoCZ7aODr-zBTMY0gm1FUp4AltHcJ4QMarkfbsjJWp1ck44yf-AEs5_fAqPmWz24NH-o9_paEP_iqBYMaqBQAXDKcOkaNIN13_wYm-eQDCK6IUF-uHRopZwgfiNY2m7GWjDWAGLS7GfCZIv2uTSWABu60m0CoVfa6PojYgBoBXT-vv3WwoEtZPwVPjD82Rj7MQrwK9VBOzhnQOTfjgA");
myHeaders.append("Cookie", "bm_sz=8C8E31CDC0CA5D43D7AC44ACC703F82DYAAQnqg2F47mMmZxAQAAVGq7agfuDD16Rm8PDyWHpTt1j8qzwcEbyU9iIwneiGHwXKb+u2nwczOQV/ENYDfWB0wbsdqX9u/HGqm0Avtkf74TJ1N+0ymXyq5bkcz4DYKstIAkHBBhCsiOX6wrwE0nSz3XWL4opCd5N2PI484A80jq8lvKWZr8JKsqkF6UO6Ma; _abck=2FD26AA9490BDEE5335443E4E08F7C7A-1YAAQnqg2F4/mMmZxAQAAVGq7agOKgv1whCrWgB8UK+G9t+9ERZwg4sk/Jb+wAeDB+Ed65gGjxh0rip9kj8BtkG64WAjiNJJYuYvoZEiyRjOA22hJjJkZFoG7LSncVY9JjM/3vr2aqXCPEvP4FZLmA7tiS3h2PdJRepjVA/P+6u7ks8mjBYaK2+FrhDr8tBJJLj15nhjAuU9SgzqawxN4oKoeVyXl/1yVjI2yfYQ8AYMXPNFlSfmWIbzBi4jja63dHYhsFfoapADCJnxpjAWLEjY66il9GvliUUUPIqxVrKWyQDHEwFLWkEng-1~-1~-1; akaalb_Digital_ALB_API=~op=KT_Digital_API_KCVG_F5:api-kcvg|rv=51m=api-kcvg:0|os=75b4a9ec926d2a9e67035451773cec6cid=9c6a903b51e8682e5c77a731fe831a1c");

var urlencoded = new 'URLSearchParams'();

var requestOptions = {
method: 'GET',
headers: myHeaders,
body: urlencoded,
redirect: 'follow'
};

fetch("https://api.kroger.com/v1/products?filter.term=milk&filter.limit=2", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Typescript Implementation

I was wondering if you would be interested in doing a typescript implementation of this project so you can have some more defined types and not have to worry about creating a typescript definition file for it once it is farther along.

Timeout Error

Is the API still supported. I tried running the test code and receiving a timeout. Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.