Coder Social home page Coder Social logo

nylchr / youtracksharp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetbrains/youtracksharp

0.0 0.0 0.0 28.33 MB

.NET Standard 1.3 Library to access YouTrack API.

Home Page: http://www.jetbrains.com/youtrack

License: Apache License 2.0

Batchfile 0.04% PowerShell 0.99% Shell 0.71% C# 98.25%

youtracksharp's Introduction

official project

YouTrackSharp

YouTrackSharp

.NET Standard 1.3 Library to access YouTrack API.

For more information on YouTrack visit jetbrains.com/youtrack.

Getting started

First of all, install YouTrackSharp into your project using a NuGet client.

Install-Package YouTrackSharp

If you want to work with pre-release builds, configure our MyGet feed as a package source.

To communicate with a YouTrack server instance, we'll need a connection. It is recommended to always use permanent tokens to authenticate against YouTrack, using the BearerTokenConnection. For YouTrack instances that do not have token support, UsernamePasswordConnection can be used.

var connection = new BearerTokenConnection("https://ytsharp.myjetbrains.com/youtrack/", "perm:abcdefghijklmn");

// or:

var connection = new UsernamePasswordConnection("https://ytsharp.myjetbrains.com/youtrack/", "username", "password");

Once a connection is made, various services can be used. For example to get a list of projects the user has access to, the ProjectsService can be used:

var projectsService = connection.CreateProjectsService();
var projectsForCurrentUser = await projectsService.GetAccessibleProjects();

Other services are available as well, mapping to the YouTrack REST API endpoints and operations that are available.

Supported operations

YouTrackSharp is a .NET Library to access the YouTrack API. Main features:

  • Targets .NET Standard 1.3 - can be used with pretty much any .NET platform!
  • All calls are async all the way.
  • Handles serialization of YouTrack's timestamps into DateTime where possible.
  • Authentication using permanent tokens. For YouTrack instances that do not have token support, username/password can be used.
  • Comes with a color indices list.

The following API's are currently supported:

Many other API's are not included yet - feel free to tackle one of the UpForGrabs issues and make YouTrackSharp better!

Supported YouTrack versions

YouTrack versions 2017.x and higher as well as YouTrack InCloud are officially supported by this library.

Some features will work with older versions of YouTrack as well but they are not officially suppported. For other YouTrack versions:

Be aware that these older branches are frozen and bug fixes nor new feature development is done on them.

youtracksharp's People

Contributors

maartenba avatar hhariri avatar tdietrich513 avatar tablekat avatar mwgriffiths88 avatar tikicoder avatar tetsuo13 avatar jawn avatar nesteruk avatar jeff-french avatar johannesg avatar matkoch avatar wallaceturner avatar aschoelzhorn avatar sbaer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.