1.3.0 • Published 3 years ago

cf-http-client v1.3.0

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

cf-http-client

I have made this project to make it possible to interact with Cloud Foundry platform using their APIs.

The library uses both V3 and V2 version of APIs because some services are only available in the V2 version.

Available APIs

For now I have implemented only a few APIs. The ones that I need

  1. Get the list of all organizations
  2. Get the list of users for an organization
  3. Get the list of all spaces
  4. Add a manager to an organization

Installation

With npm

npm install --save cf-http-client

With yarn

yarn install cf-http-client

Usage

import { cf } from 'cf-http-client'

const client = await cf('YOUR_ENDPOINT').login('USERNAME', 'PASSWORD')

const organizations = await client.organizations.list()
1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago