0.1.2 • Published 4 years ago

mediafire v0.1.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
4 years ago

MediaFire JavaScript SDK

A JS wrapper around the MediaFire RESTful API

Installation

npm i mediafire

Usage

// Import the lib
import MediaFire from 'mediafire';

// Create a new session
const mf = new MediaFire();

// Authenticate future requests
await mf.authenticate('<token>');

// Retrieve user info from the API
const info = await mf.user.getInfo();

// Log the JSON results to the console
console.log('your user info:', info);
0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago