Skip to content

About

Client library for the Platform.sh API in Python

Topics

Resources

Stars

10 stars

Watchers

10 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

platformsh-client-python

Installation

git clone https://github.com/platformsh/platformsh-client-python.git
cd platformsh-client-python
python setup.py install

Usage

Set the $PLATFORMSH_API_TOKEN environment variable and then make calls to the endpoints.

Endpoints

These should be added in pshclient/endpoints.py. Currently only supports:

  • subscriptions
  • environments
  • projects
  • settings

Example

import pshclient
PROJECT_ID = 'your_project_id'
ENVIRONMENT = 'some_environment'

data = pshclient.environments(PROJECT_ID, ENVIRONMENT)

About

Client library for the Platform.sh API in Python

Topics

Resources

Stars

10 stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages