Git Product home page Git Product logo

lazada-open-platform-sdk's People

Contributors

conradlo avatar

Stargazers

 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  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lazada-open-platform-sdk's Issues

generateAccessToken() does not work

I cannot make it work. Anytime I call generateAccessToken(), it raises

(node:3836) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Can't set headers after they are sent.

Using the Official dotnet SDK with the same "authorization code", I can get access_token normally.

Deprecated dependency

Hi.. thank you for create this awesome library, but the request-promise which extends request library are deprecated, are you gonna update this?

create product but it was return by E030: Empty Request

After I run this code, then I got the error above
Am seem I missing the URL?

const lazadaAPI = new LazadaAPI(
  process.env.APP_KEY,
  process.env.APP_SECRET,
  'VIETNAM',
  accessToken
)
lazadaAPI
  .createProduct({
    payload: JSON.stringify(payload),
  })
  .then((res) => console.log(res))
  .catch((err) => console.log(err))

generateAccessToken

Hi, do you know whether can I generateAccessToken with my seller user name and password ?

Test account authorization

I am able to get a token on the sandbox page but cannot use the same password to get past the authorization page.

image

Anybody facing the same issue?

DataMoat

Hello,
Is the DataMoat Api support on the roadmap of the project?
Thanks in advance for your response.

Outdated build script `version`

In package.json#20

"version": "npm run build"

Need to change version to prepare in order to successfully build the module. Again, already did this fix in my fork. Can open pull request if requested.

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.