Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blih

npm npm

Blih API for Node using the Promise API.

Installation

Using npm:

$ npm install blih

Quickstart

Get all your repositories :

const Blih = require('blih');

const api = new Blih({ email: 'email', password: 'password' });

api.listRepositories()
  .then(console.log)
  .catch(console.log);

Authentication

You have to be authenticated in order to use the Blih API (except for static methods), using your Epitech email and password.

const api = new Blih({ email: 'email', password: 'password' });

Note: Old logins using the format 'xxxxxx_y' are not used to authenticate anymore.

Alternatively, you can pass your token instead of your password if you have it. If both are given, only the token is taken into account.

const api = new Blih({ email: 'email', token: 'token' });

Documentation

Find the documentation here.

About

Promise-based Node API for Epitech Blih

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages