ntegral / lulu-client Goto Github PK
View Code? Open in Web Editor NEWLulu Print API Client
License: MIT License
Lulu Print API Client
License: MIT License
On init function, only in developpement mode, it's impossible to auth.
Domain to be used on every case for auth seems be api.lulu.com
In documentation, token configuration is not present, we can create service by using directly base64 token.
let base64token = 'ABCDEFGH==';
let ls = new LuluService({
token: base64token,
environment: 'development'
});
Hi, thanks for job.
In documentation, 'init' function is called, but need 'await' to work good.
Properties 'page' and 'page_size' are required by ShippingListOptions object (typeScript warning) but not necessary by lulu's api.
This exemple work fine :
// list the print shipping options method
// @ts-ignore
ls.shippingOptions.list({ }).then((result) => {
console.log('resulting shipping options', result);
}).catch((err) => {
console.log('error occurred', err);
});
I would like to use the library in production. Anyone using it in production and is the lib still been maintained ?
@ntegral
hi! i hate to bother you, because you must be very busy. but i want to learn from someone who has experience like you.
is there any chance you can help me with the lulu api? i want to get up and running, but i am not able to generate tokens.
can i show you my code? it is here https://github.com/yishairasowsky/lulu_api/blob/main/generate_token.py
thank you!
sorry if i have simple mistakes. i am more of a beginner.
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.