18 lines
374 B
TypeScript
18 lines
374 B
TypeScript
import fs from 'fs/promises';
|
|
|
|
import discogsService from './src/discogs';
|
|
import sellers from './sellers';
|
|
|
|
async function start() {
|
|
const discogs = discogsService();
|
|
// return discogs.wantlist('margh');
|
|
return discogs.inventory(sellers[2]);
|
|
}
|
|
|
|
start()
|
|
.then(r => console.log(r))
|
|
.catch(e => {
|
|
console.error(e);
|
|
process.exit(1);
|
|
});
|