Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Latest commit

 

History

History
80 lines (59 loc) · 2.14 KB

README.md

File metadata and controls

80 lines (59 loc) · 2.14 KB

Tentabucket

Build Status Coverage Status

Simple Bitbucket API client library for Elixir


Installation

If available in Hex, the package can be installed as:

  1. Add tentabucket to your list of dependencies in mix.exs:

    def deps do [{:tentabucket, "~> 0.0.1"}] end

  2. Ensure tentabucket is started before your application:

    def application do [applications: [:tentabucket]] end

Bitbucket API coverage

  • Version 2

    • 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
  • Version 1

    • 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 mix
iex> 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, test

Pull requests are greatly appreciated