Skip to content

Foglight/foglight-rest-api-python-sample-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an python sample to call foglight restful api.

Files

File Name Description
init.cfg configuration file, configure username, password and so on.
init.py http client utility for call foglight restful apis.
sample-login.py python sample for call login related restful apis.
sample.py python sampele for call login-excluded restful apis.

Usage

Before run the sample, you need to configure the parameters in init.cfg, then you can run either sample-login.py or sample.py. Some of the call methods are commented inside sample.py, you need to configure the related parameters in init.cfg, and then you can uncomment the methods to run the samples.

About

This is an python sample to call foglight restful api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages