Skip to content

platformsh/platformsh-client-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published