Skip to content

SocialConnect/github-sdk-js-flow

Repository files navigation

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