Giter Club home page Giter Club logo

Comments (7)

srokatonie avatar srokatonie commented on June 25, 2024 1

@Ephigenia I'd be happy to contribute, I need this for one of my projects.

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on June 25, 2024

Hi @srokatonie thanks for joining. If there are new stores they should be added to the ./data/stores.json file. The CSV file next to it is just a legacy file which I created using google docs back then. It will be removed in one of the next versions.

Also please feel free to create a pull request with the new store in Ireland. You can test if your additions work by calling npm start stores -- EI which should list them in the output.

from ikea-availability-checker.

srokatonie avatar srokatonie commented on June 25, 2024

Hi @Ephigenia,
How do you find Ikea store's buCode? Where do you get it from?

PS. I have an issue with listing stores from ST, ES (and possibly more) - blank result. I will have a look when pulling the repo and adding IE.

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on June 25, 2024

@srokatonie please provide your changes as a pull request then I can also have a look at it and give better feedback.

Back in the days, the BU codes were clearly visible in the source code of the store location dropdown on a product’s detail page. Now it seems to be a bit more difficult by I think Belfast is buCode 038.

from ikea-availability-checker.

srokatonie avatar srokatonie commented on June 25, 2024

@Ephigenia I am actually looking for the Dublin's store code. I will contact their support.

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on June 25, 2024

@srokatonie there’s no need for asking them. 038 is the buCode for the Dublin store. I’m just preparing a pull request myself cause Ireland is not listed anywhere in the code and must be added in various locations.

from ikea-availability-checker.

Ephigenia avatar Ephigenia commented on June 25, 2024

I noticed that Ireland is a special case as some other countries too. They use a different endpoint of the iows API (https://www.ikea.com/ie/en/retail/iows/stores/038/item/SPR,29932181) and must be requested and parsed differently. There needs to be more work done to support that. I’m sorry but at this time the integration is not easily done.

from ikea-availability-checker.

Related Issues (20)

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.