0.3.3 • Published 4 months ago

@flumens/fetch-onedrive-excel v0.3.3

Weekly downloads
7
License
MIT
Repository
github
Last release
4 months ago

Fetch OneDrive Excel file as JSON

Node.js helper function that fetches one sheet from an excel file as a JSON object.

How to use it

const fetchSheet = require('@flumens/fetch-onedrive-excel');

const file = '013SAXWCB2VHYCCDY76FF3KGKPN7T55EU2';
const sheet = 'My Sheet 1';
// const drive = '/me/drive'; // optional, see https://docs.microsoft.com/en-us/graph/api/resources/onedrive?view=graph-rest-1.0#commonly-accessed-resources

const sheet = await fetchSheet({file, sheet});

the script requires you to authenticate to your account by setting MS_TOKEN env variable. One way to get your token is by visiting https://developer.microsoft.com/en-us/graph/graph-explorer/preview and opening Access token tab where you can copy the token.

0.3.2

4 months ago

0.3.3

4 months ago

0.3.1

10 months ago

0.3.0

2 years ago

0.2.1

3 years ago

0.1.1

3 years ago

0.1.0

4 years ago

0.0.1

4 years ago