Git Product home page Git Product logo

cherwell.api's Introduction

Cherwell.Api

Nuget Nuget License: MIT Codacy Badge

This project implements access to the v1 Cherwell API

See the contribution guide for more information regarding contributing to this project

To use the Cherwell API nuget package:

Visual Studio

  1. Open your project in Visual Studio
  2. Right-click on the project and click "Manage Nuget packages"
  3. Find the package "Cherwell.Api" - install the latest version

Example code (C# 10.0):

using Cherwell.Api;
using System;
using System.Threading.Tasks;

namespace My.Project
{
	public static class Program
	{
		public static async Task Main()
		{
			using var cherwellClient = new CherwellClient(new CherwellClientOptions
			{
				BaseAddress = "xxxxxxx",
				Username = "0123456789abcdef0123456789abcdef01234567",
				Password = "0123456789abcdef0123456789abcdef01234567",
				ClientId = "0123456789abcdef0123456789abcdef01234567"
			});

			var views = await cherwellClient
				.Core
				.GetViewsAsync()
				;
		}
	}
}

API Documentation

The Cherwell API documentation can be found here:

cherwell.api's People

Contributors

davidnmbond avatar geckogeckogecko avatar rolandbanks avatar thecakemonster avatar

Stargazers

Jan Wrage avatar  avatar

Watchers

James Cloos avatar  avatar

cherwell.api's Issues

Not able to get auth token - just retries

Cherwell Rest API 10.5.2 seems to not be working with your code.

Just keeps retrying.

I can connect just fine with postman using the same form fields I do see we use https://{{baseUrl}}/token?auth_mode=Windows for the url.

Also we just pass in the client id in the from data and not in as a header

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.