branch8 / lazada-open-platform-sdk Goto Github PK
View Code? Open in Web Editor NEWLazada Open Platform SDK for Nodejs
License: MIT License
Lazada Open Platform SDK for Nodejs
License: MIT License
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.
Hi.. thank you for create this awesome library, but the request-promise which extends request library are deprecated, are you gonna update this?
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))
Hi, do you know whether can I generateAccessToken with my seller user name and password ?
As per Lazada documentation, unpaid
status for /orders/get
can now be queried by passing unpaid
as the status
. I already have a fork fixing this issue. Can open a pull request to master
if requested.
Anyone can get the authorization code recently ? The authorization code just return with null in the beginning of the string.
And if I tried to get the access token by quick mode. It always say "user info not exists" . Which I used to get the access token this way.
Hello,
Is the DataMoat Api support on the roadmap of the project?
Thanks in advance for your response.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.