Skip to content

Commit c372cd2

Browse files
authored
Update README.md
1 parent fe31c31 commit c372cd2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Contributors](https://img.shields.io/github/contributors/zapadi/redmine-net-api)](https://github.com/zapadi/redmine-net-api/graphs/contributors)
77

88

9-
A modern and flexible .NET client library to interact with [Redmine](https://www.redmine.org)'s REST API. Supports XML and JSON formats with GZipped responses for improved performance.
9+
A modern and flexible .NET client library to interact with [Redmine](https://www.redmine.org)'s REST API.
1010

1111

1212
## 🚀 Features
@@ -69,11 +69,9 @@ class Program
6969
{
7070
static async Task Main()
7171
{
72-
var options = new RedmineManagerOptions
73-
{
74-
BaseAddress = "https://your-redmine-url",
75-
ApiKey = "your-api-key"
76-
};
72+
var options = new RedmineManagerOptionsBuilder()
73+
.WithHost("https://your-redmine-url")
74+
.WithApiKeyAuthentication("your-api-key");
7775

7876
var manager = new RedmineManager(options);
7977

0 commit comments

Comments
 (0)