Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shulhan/gonduit

The Go library for working with Phabricator Conduit API
https://github.com/shulhan/gonduit

Last synced: about 1 month ago
JSON representation

The Go library for working with Phabricator Conduit API

Awesome Lists containing this project

README

        

[![GoDoc](https://godoc.org/github.com/shuLhan/gonduit?status.svg)]
(https://godoc.org/github.com/shuLhan/gonduit)
[![Go Report Card](https://goreportcard.com/badge/github.com/shuLhan/gonduit)]
(https://goreportcard.com/report/github.com/shuLhan/gonduit)

`gonduit` is the Go library for working with Phabricator Conduit API [1].

*WARNING*: This library use new (or unstable) API of Conduit.

## Features

* Project
* Create (`project.edit`): create new project
* Search (`project.search`): search specific project

* Task
* Create (`maniphest.edit`): create new task
* Search (`maniphest.search`): search specific task by status, name, and
projects
* IsExist: check wether task is already exist or not

## Examples

For examples, see the `*_test` files.

## Testing

To run test using your own Phabricator server,
* set the environment `CONDUIT_URL` to your server URL; e.g.
`http://localhost/` (must with trailing slash), and
* set the environment `CONDUIT_TOKEN`, that you can create and get at
`$CONDUIT_URL/settings/user//page/apitokens/`.

## License

Copyright 2016 Muhammad Shulhan ([email protected]).
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.

[1] https://secure.phabricator.com/conduit/