# proyecto-1b-api-github

> Acceso a la API de Github de un usuario

Latest version **1.1.0** (published 2019-01-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install proyecto-1b-api-github
pnpm add proyecto-1b-api-github
yarn add proyecto-1b-api-github
bun add proyecto-1b-api-github
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-01-03 |
| First published | 2018-12-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anartz Mugika Ledo |
| Maintainers | mugan86 |
| Keywords | nodejs, api, github |

## Links

- npm: https://www.npmjs.com/package/proyecto-1b-api-github
- Repository: https://github.com/npm-js-ts-angular-modules-course/proyecto-1b-api-github
- Homepage: https://github.com/npm-js-ts-angular-modules-course/proyecto-1b-api-github#readme
- Issues: https://github.com/npm-js-ts-angular-modules-course/proyecto-1b-api-github/issues
- npm.io page: https://npm.io/package/proyecto-1b-api-github

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.18.0

## Recent versions

- 1.1.0 (latest) — 2019-01-03
- 1.0.0 — 2018-12-02

## README

# API Github
Obtener los datos de un usuario introducido por parámetro de la API de Github.

## Intrucciones de uso
Seguir las siguientes instrucciones.

### Instalación

```
npm install proyecto-1b-api-github
```

### Uso

```
const api = require('proyecto-1b-api-github');

api.obtenerDatosDeUsuario('mugan86').then(
    data => {
        console.log(data);
        if (data.message === undefined) { // OK message
            console.log('OK');
            console.log(data.login);
        } else {
            console.log(data.message); // ERROR message
        }
    }
);
```

---
_Source: https://npm.io/package/proyecto-1b-api-github · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
