trello.net

What does the POS actually mean in the Trello API

限于喜欢 提交于 2020-07-04 07:51:29
问题 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 these enough to "place" a new Card between 2 others that already exist in the list? 回答1: Edit: Available in version 0.5.9-beta1 of Trello.NET (on NuGet): // Ways to set the position of a card trello.Cards.ChangePos(card, 1234) trello.Cards

What does the POS actually mean in the Trello API

微笑、不失礼 提交于 2020-07-04 07:51:09
问题 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 these enough to "place" a new Card between 2 others that already exist in the list? 回答1: Edit: Available in version 0.5.9-beta1 of Trello.NET (on NuGet): // Ways to set the position of a card trello.Cards.ChangePos(card, 1234) trello.Cards

Trello.NET objects returning NULL

社会主义新天地 提交于 2019-12-23 12:38:10
问题 @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 packages I've installed are: Trello.NET 0.6.2 Json.NET 7.0.1 RestSharp 105.1.0 Follwing is the assembly references on class level: using System; using System.Collections.Generic; using System.Linq; using System.Web; using TrelloNet; using RestSharp

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

对着背影说爱祢 提交于 2019-12-12 21:12:44
问题 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 api", Scope.ReadWrite, Expiration.Never); Process.Start(url.ToString()); } Process.Start opened my default browser instance, I allowed access for the application and on the next page got my token. Then I hardcoded the token and tried to implement this example:

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

我的梦境 提交于 2019-12-12 11:26:14
问题 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 how can I get all my boards? It's always null and I don't understand what is the problem. My user and application tokens are valid. My me object is not null and I have information about my account. What did I miss? Thank you! UPD: I can't even get

Invite members to board with Trello.NET

老子叫甜甜 提交于 2019-12-12 03:44:56
问题 Is there a way to invite members to a board or even just assign them as admins/users via the API? I'm trying to automate our project request system so that when a new project is approved a new Trello board is created and my team is assigned as admins to the board. 回答1: It's not implemented in Trello.NET. I added an issue on GitHub for this. Edit : Implemented by @theyshookhands and on NuGet (version 0.5.8) 回答2: You can pretty simply with Manatee.Trello... 来源: https://stackoverflow.com

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

£可爱£侵袭症+ 提交于 2019-12-10 13:56:26
问题 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 automatically without any UI. So I'm having to use a hard coded token, which I obtained by running this code to get a URL, which I then browse to manually. I would rather do this part automatically (get the resulting token programatically, not by having the