The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Python Rest Client for Consuming Bamboo Deliverables

GN
April 30, 2015

Hi there,

I was wondering if there is a python rest client  build for consuming Bamboo deliverables.

 

Thanks,

GN

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 30, 2015

Hello GN,

Thank you for your question.

You could be running the following, if suits you:

import requests
import json

# [BAMBOO-BASE-URL], i.e.: http://localhost:8085
url = '[BAMBOO-BASE-URL]/rest/api/latest/info'
headers = {'Content-Type': 'application/json'}


# create page
# [USERNAME], i.e.: admin
# [PASSWORD], i.e.: admin
r = requests.get(url, headers=headers, auth=('[USERNAME]', '[PASSWORD]'))
print(r.status_code)
print(r.text)

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Nate R
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 26, 2017

That did the trick! Thanks! Very helpful!

TAGS
AUG Leaders

Atlassian Community Events