'How to use Bitbucket api in Ruby on Rails?
Which is the best way to use bitbucket api in ruby on rails. Is there any gem available to handle bitbucket ?
Solution 1:[1]
As far as I know, there's no specific gem available.
But by re-mapping your repo to bitbucket you can use bitbucket in rails seamlessly.
Assuming you were previously in github...
git remote set-url [example] [git://github.com/user/test.git]
where [example] = repo name
[git://github.com/user/test.git] = new repo url
Solution 2:[2]
This is most popular gem for Bitbucket api https://github.com/bitbucket-rest-api/bitbucket
Solution 3:[3]
As per my findings there is no updated gem for integrating Bitbucket APIs in rails application.
You can simply follow this updated bitbucket REST documentation to integrate APIs: https://developer.atlassian.com/cloud/bitbucket/rest/intro/
PS: I know this questions is past now, still posting answer here because I went through the same issue. So maybe it will help to resolve.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Louis Magnotti |
| Solution 2 | Alex Kojin |
| Solution 3 | Chetan Tete |
