An open API service indexing awesome lists of open source software.

https://github.com/inab/github-metadata-api

API to extract metadata from a GitHub repository and update files.
https://github.com/inab/github-metadata-api

github metadata-extraction nodejs software-metadata

Last synced: 10 months ago
JSON representation

API to extract metadata from a GitHub repository and update files.

Awesome Lists containing this project

README

          

# GitHub Metadata Extractor and Updater API

This repository contains an API that can be used to extract metadata from a GitHub repository and update the metadata of a GitHub repository. The API is designed to be used in the context of the [FAIRsoft Evaluator](https://openebench.bsc.es/observatory/Evaluation). The API is used by the [Metadata Extractor for FAIRsoft](https://github.com/apps/metadata-extractor-for-fairsoft) and the [Metadata Updater for FAIRsoft](https://github.com/apps/metadata-updater-for-fairsoft) applications. The API can be also used using a user access token to perform the same functions.

This API is a Node.js application that uses Express.js as the web framework. The API uses the GitHub API to extract and update metadata of a GitHub repository. The API uses the [Octokit](https://github.com/octokit) library to interact with the GitHub API.

- [Installation](#installation)
- [Usage](#usage)
- [API Reference](#api-reference)
- [License](#license)

## Installation

To install the API, clone the repository and install the dependencies using npm:

```bash
npm install
```

This project have been successfully tested with Node.js v6.20.0.

## Usage

To start the API, run the following command:

```bash
node src/index.js
```

## API Reference

The API reference is available in the following [link](https://observatory.openebench.bsc.es/github-metadata-api/api-docs/).

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.