Tentabucket
Simple Bitbucket API client library for Elixir
Installation
If available in Hex, the package can be installed as:
Add tentabucket to your list of dependencies in
mix.exs:def deps do
[{:tentabucket, "~> 0.0.1"}]end
Ensure tentabucket is started before your application:
def application do
[applications: [:tentabucket]]end
Bitbucket API coverage
-
repositories endpoint
- repository Resource
- pullrequests Resource
- commits or commit Resource
- branch-restrictions Resource
- diff Resource
- webhooks Resource
- statuses/build Resource
- teams endpoint
- users endpoint
- snippets endpoint
- user endpoint 2.0
-
repositories endpoint
- privileges Endpoint
- groups Endpoint
- group-privileges Endpoint
- invitations Endpoint
- repositories Endpoint - 1.0
- user Endpoint
- users Endpoint - 1.0rivileges Endpoint
- groups Endpoint
- group-privileges Endpoint
- invitations Endpoint
- repositories Endpoint - 1.0
- user Endpoint
- users Endpoint - 1.0
Examples
Fetching dependencies and running on elixir console:
mix deps.get
iex -S mixiex> Tentabucket.Repositories.list_account "duksis"Contributing
Start by forking this repo
Then run this command to fetch dependencies and run tests:
MIX_ENV=test mix do deps.get, testPull requests are greatly appreciated