Questions tagged [trello.net]

A .NET API Wrapper for Trello

On GitHub: Trello.NET

21 questions
16
votes
1 answer

What does the POS actually mean in the Trello API

I'm using dillenmeisters Trello.Net API Wrapper, and on each Card it has a POS attribute. I thought that was for position in the list that it was in, but the numbers seem arbitrary, ranging from 4 to 5 digit numbers. Is there anyway to make sense of…
B-Wint
  • 177
  • 1
  • 8
5
votes
2 answers

Trello.Net authorisation works but can't access data once authorised

I am new to Trello.Net and struggling a little with authorisation. I understand the process, of requesting a URL and then asking the user to browse to that URL to get a token. The first problem is I am trying to write a process which runs…
Owen
  • 91
  • 5
5
votes
1 answer

Hardcode login credentials in c# for trello api

I've been using trello.net api for trello to read through the boards etc. I've been using the trello.GetAuthorizationUrl(); to redirect the user to a login page for trello although I'm looking for an option where I can just hard code my login…
4
votes
2 answers

How can I get all boards from Trello using Trello.NET?

Here is my code: ITrello trello = new Trello("MyAppToken"); trello.Authorize("MyUserToken"); Member me = trello.Members.Me(); var cards = trello.Cards.ForMe(); var allboards = trello.Boards.ForMe(); So I got all my cards without any problems. But…
Maxim
  • 91
  • 1
  • 6
4
votes
1 answer

Trello.NET objects returning NULL

@dillenmeister I tried Trello.NET wrapper but it is always returning NULL after successfully accepting AppKey and Token. I'm sure that AppKey and Token are correct because when I deliberately entered wrong AppKey/Token then I got error. Versions of…
2
votes
1 answer

Authentication user credentials using trello API

We are having a Trello board having 8 members in it. I am developing an application where I should allow only these 8 members to log in to my application. Is there a way to do this using Trello's API? (I am thinking of authenticating user…
2
votes
0 answers

Trello C# api, .Boards.WithId() and .Members.Me() are always null

I'm getting started with C# Trello API. I'we created simple console application, and ran it first to get access token: static void GetToken() { ITrello trello = new Trello("application key"); var url = trello.GetAuthorizationUrl("Test…
Dmytro
  • 16,668
  • 27
  • 80
  • 130
1
vote
1 answer

How are generated ids on trello?

I'm studying the Trello api and had the following doubts: How is generated the id of the cards, boards and lists on trello? Is it used some kind of hash? thanks in advance.
1
vote
1 answer

Handlebars syntax issue with JSON from Trello API

Struggling with my Handlebars syntax for JSON data when returned from the Trello.Net wrapper for the Trello API. I'm doing a card search for some string which returns cards. This part works well. However, wrapping my Handlebars HTML with {{#each}}…
Brett
  • 1,923
  • 3
  • 18
  • 24
1
vote
1 answer

How to create an IAttachmentID using Trello.Net?

I'm using dillenmeister's Trello.Net API wrapper, and I see that removing an attachment from a card was added a couple months ago, but the call that I'm using (Trello.Cards.RemoveAttachment()) calls for a CardId and an IAttachmentId. I've figured…
B-Wint
  • 177
  • 1
  • 8
1
vote
1 answer

Updating a Trello board label text with Trello.NET

Using board.LabelNames = labels with Trello.NET, doesn't update the label texts on the board. Even when followed by calling trello.Boards.Update(board); Any other way to do this? Or is this a missing feature in Trello.NET?
Ron Harlev
  • 16,227
  • 24
  • 89
  • 132
1
vote
1 answer

Update card's checklist item state with Trello.Net on Trello API

Is there a way to update the CheckItemStates of a Trello card? (With Trello.NET) trello.Checklists.AddCheckItem takes only a checklist ID and a name for the item. And it returns void. Looking at a card with an existing checklist (all the items still…
Ron Harlev
  • 16,227
  • 24
  • 89
  • 132
1
vote
1 answer

Change board permission with Trello with Trello.NET

I'm using Trello.net to manage Trello boards through their API. One thing I need to do, is change a new board I created to be public. This code doesn't seem to work myBoard.Prefs.PermissionLevel =…
Ron Harlev
  • 16,227
  • 24
  • 89
  • 132
0
votes
2 answers

Trello POST FAIL

I want to use the post method of the following link: https://developers.trello.com/advanced-reference/checklist#post-1-checklists-idchecklist-checkitems I understand that I would have to add an element to the specified checklist, but I do not know…
Ricard FP
  • 1
  • 2
0
votes
1 answer

Create a CheckList using Trello.Net Edge

I am trying to create a checkList, but it throws an exception with this description: "invalid value for idCard" this is the code that i am using: var checkList = trello.Checklists.Add("My CheckList", b); my doubt is why it throws an exception for…
1
2