Giter Site home page Giter Site logo

dw-mws-connector's People

Contributors

laconc avatar willb-dw avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dw-mws-connector's Issues

Add support for the other MWS report types

ReportType enumeration

As can be seen in the link above, MWS provides numerous reports, although some won't be of value to this project, such as _GET_XML_ALL_ORDERS_DATA_BY_ORDER_DATE_ , which is data that we're already receiving through a different report type. The only ones currently included are:

_GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_
_GET_FBA_FULFILLMENT_CUSTOMER_RETURNS_DATA_

This issue will be kept open to track report types until all the useful ones are added.

Smarter throttling protection

To avoid being rate limited, we currently use a 60 second delay after requesting a report. Reports are slow to process but this could stand to be lower. Additionally, MWS provides quota info in the response headers that can be used to provide a more efficient process.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>datadotworld/renovate-config)

Perform incremental updates

Currently, each time update_reports.py runs, it pulls data for the entire required time period. A better approach would be to pull the current data from data.world, use the LAST BOT RUN update marker to only pull the most recent data from MWS, and then merge the two and push it all to data.world.

One gotcha to be aware of is that order IDs aren't unique, making it difficult to discern if an updated order is a duplicate or an update to a previously existing order. Hence, why we pull the full order set each time.

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.