pyrundeck
pyrundeck copied to clipboard
Method to fetch project configuration
Hi, Github won't let me open a MR, so here is the code snippet to get all the key/value pairs for a project's configuration :
def get_project_config(self, project_name, format="xml"):
url = "{}/project/{}/config".format(self.API_URL, project_name)
return self.__get(url, format=format)
Cheers, Xavier
I also need this option, can we contribute?
@xavier8854 I´ve generated the PR https://github.com/pschmitt/pyrundeck/pull/64 for this, can you review/approve please?