# marathon-api

> Marathon V2 API client

Latest version **1.0.0** (published 2015-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install marathon-api
pnpm add marathon-api
yarn add marathon-api
bun add marathon-api
```

## 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.0.0 |
| Published | 2015-03-10 |
| First published | 2015-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | Ole-Kenneth Rangnes |
| Maintainers | olekenneth |
| Keywords | marathon, mesos, cloud, cluster |

## Links

- npm: https://www.npmjs.com/package/marathon-api
- Repository: https://github.com/olekenneth/node-marathon-api
- Issues: https://github.com/olekenneth/node-marathon-api/issues
- npm.io page: https://npm.io/package/marathon-api

## Dependencies (2)

- [underscore](https://npm.io/package/underscore.md) ~1.8.2
- [request-promise](https://npm.io/package/request-promise.md) ~0.4.0

## Recent versions

- 1.0.0 (latest) — 2015-03-10
- 0.0.1 — 2015-03-05

## README

# Marathon API

# Install

`npm install --save marathon-api`

# How to use

```javascript
var Marathon = require('marathon-api');

var marathonClient = new Marathon({baseUrl: 'http://localhost:8080', appId: 'api.domain.com'});
var groupId = marathonClient.getGroupId();

marathonClient.getInstancesInGroup(groupId, function(err, result) {
    console.log(err, result);
});

```

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