Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Python Rest Client for Consuming Bamboo Deliverables

Hi there,

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

 

Thanks,

GN

 

1 answer

1 vote
rsperafico Atlassian Team Apr 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

That did the trick! Thanks! Very helpful!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

986 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you