eugene-ga / shutterstock Goto Github PK View Code? Open in Web Editor NEW 12.0 0.0 5.0 1001 KB API for uploading and submitting images to shutterstock License: MIT License TypeScript 100.00% shutterstock microstock Introduction ยท People ยท Discuss
For reference and example only, no warranty of any kind. Usage Session cookie required to use this module. It cannot access shutterstock contributor area using user credentials, beacause shutterstock requires solving captcha. import { ShutterstockClient } from 'shutterstock-submit'; const client = new ShutterstockClient(<provide session cookie here>); To upload file const file = await client.upload('path/to/file'); to get all uploaded but not submited images const imagesToSubmit = await client.getImagesToSubmit(); to update images attributes await client.save([ { categories: ['11', '1'], id: file.upload_id, }, ]); to submit images await client.submit([+file.upload_id]); session id can be taken using chrome dev tools
For reference and example only, no warranty of any kind. Usage Session cookie required to use this module. It cannot access shutterstock contributor area using user credentials, beacause shutterstock requires solving captcha. import { ShutterstockClient } from 'shutterstock-submit'; const client = new ShutterstockClient(<provide session cookie here>); To upload file const file = await client.upload('path/to/file'); to get all uploaded but not submited images const imagesToSubmit = await client.getImagesToSubmit(); to update images attributes await client.save([ { categories: ['11', '1'], id: file.upload_id, }, ]); to submit images await client.submit([+file.upload_id]); session id can be taken using chrome dev tools
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.