Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 598 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 598 Bytes

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