cf-http-client
v1.3.0
Published
Cloud Foundry wrapper for nodejs written in typescript
Downloads
463
Readme
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
- Get the list of all organizations
- Get the list of users for an organization
- Get the list of all spaces
- 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()