const Cosmic = require('cosmicjs') const api = Cosmic() const bucket = api.bucket({ slug: 'wedding-site', read_key: '' }) const data = (await bucket.getMedia({ folder: 'groomsmen', limit: 3 })).media
Save on
Powered by
Node 10.17.0
help
Loading…