Skip to content

FriendCode/openshift.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openshift.py

Client library for Openshift REST API.

This client library only cover the basic right now.

Examples :

Create with basic auth :

from openshift import Openshift

client = Openshift(email="", password="")

Get an authorization token :

client.add_authorization()
print client.token

Create client with token :

client = Openshift(token="....")

Get user profile :

print client.get_user()

Add a ssh key

client.add_sshkey(name="KeyName", content="EZAGA...DD")

About

Client library for Openshift REST API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages