Javascript GitHub client for NodeJS or a browser using promises on top of fetch API with Flow types


Keywords
javascript, flow, flowtype, github-api, github-client, github-sdk, js
License
MIT
Install
npm install github-flow-js@0.20.0

Documentation

GitHub SDK Flow + Fetch

This project is an auto generated SDK client for GitHub powered by SocialConnect/swagger-codegen on Swagger Spec

Installation

npm install github-flow-js --save

Example, get user by id:

// @flow

import { getUserById } from 'github-flow-js';

const request = getUserById({
    id: "ovr"              
});

request.then(
    (user) => console.log(user),
    (e) => console.warn(e)
);

LICENSE

MIT