An API for Lookbook.nu
const LookbookApi = require('lookbook-api');
const lookbook = new LookbookApi();
lookbook.signUp(login, password, name, gender ?= 'girl'|'guy')
lookbook.login(login, password);
lookbook.getUser(userId);
lookbook.getNewLooks(gender ?= 'girls'|'guys')
lookbook.getHotLooks(gender ?= 'girls'|'guys')
lookbook.getTopLooks(gender ?= 'girls'|'guys')
lookbook.getLooksByCategory(category);
lookbook.getLook(lookId);
lookbook.getItemsByLook(lookId);
lookbook.searchLooks(searchTerm, sort ?= 'top'|'new', time ?='year'|'month'|'day', gender ?= 'girls'|'guys')
lookbook.searchPeople(searchTerm, sort ?= 'top'|'new', time ?= 'year'|'month'|'day', gender ?= 'girls'|'guys')
lookbook.hypeLook(lookId)
lookbook.fanUser(userId)
lookbook.unfanUser(userId)
lookbook.addComment(modelId, comment)
lookbook.postLook(userId, { title, description, photo = 'test.jpeg', tumblr = 'NO', facebook = 'NO', twitter = 'NO' })
test.jpeg can be found in the folder 'Uploads'