trello

Creating a new card using the Trello API

徘徊边缘 提交于 2019-12-05 01:23:51
I'm trying to add a new card to a Trello list but am a bit stuck I've tried POSTing in two approaches: https://api.trello.com/1/lists/mylistid/cards?key=mykey&token=myToken&name=myName which results in a 404 but is mentioned here as a suggested but untested response and seems to follow the Trello documentation here . https://api.trello.com/1/cards?key=myKey&token=myToken&name=myName based on the documentation here . Neither works for me. Is the documentation correct or what am I doing wrong? UPDATE (hoisted from comments) I had the idList in the JSON which I was passing in but the content type

Google apps script oauth connect doesn't work with trello

妖精的绣舞 提交于 2019-12-04 20:19:46
问题 I've been trying to use oAuth in Google apps script to access trello data, but it seems that the OAuthService API makes some assumptions about the oAuth service and that trello doesn't work that way. The following code works. It get's access to twitter (this is from google's oauth tutorial): function authorizeToTwitter() { var oauthConfig = UrlFetchApp.addOAuthService("twitter"); oauthConfig.setAccessTokenUrl("https://api.twitter.com/oauth/access_token"); oauthConfig.setRequestTokenUrl("https

How to authorize and post/update Trello card from a Google docs script

天大地大妈咪最大 提交于 2019-12-03 14:11:11
问题 I have a Google Docs Spreadsheet that I'd like to use to update referenced cards in Trello. I've had some success with oauth and pulling data via their HTTP API, but am stuck with the following: 1) it seems Trello's code.js requires a window object, which the Google Doc script doesn't provide. So, I am stuck using their HTTP API. 2) authenticating via OAuth works, but only gives me read access. I cannot update cards with the token I am able to get. function test() { var oauthConfig =

How to retrieve all archived cards on a board through the Trello API?

那年仲夏 提交于 2019-12-03 12:36:14
The following question was asked on the Trello API board. I thought I'd add it here. How can I obtain all archived cards on a board? You can achieve this through use of the [filter] option on the boards endpoint: /1/boards/[boardId]/cards?filter=closed&key=[your appKey] It's the closed=true part that does the trick. It directs the API to only return cards which have been archived. I'm fairly certain it includes cards in archived lists, but I'm not 100% sure. 来源: https://stackoverflow.com/questions/16311236/how-to-retrieve-all-archived-cards-on-a-board-through-the-trello-api

Trello API: getting boards / lists / cards information

孤者浪人 提交于 2019-12-03 10:47:45
问题 Using Trello API: - I've been able to get all the cards that are assigned to a Trello user - I've been able to get all the boards that are assigned to an Organization But I can't get any API call that returns all the lists that are in an Organization or User. Is there any function that allows that ? Thanks in advance 回答1: I don't believe there is a method in the Trello API to do this, so you'll have to get a list of boards for a user or organization: GET /1/members/[idMember or username]

Creating hash array in Google Apps Script

爷,独闯天下 提交于 2019-12-03 10:20:06
问题 I've been trying to work with Trello and the Google Apps Script this week. I am trying to create an array of hashes that I can then use to load the spreadsheet. Google apps script doesn't like the typical javascript code of creating hashes. I've looked up the docs but they don't have anything like hashes...they say to: var object = []; var object1 = {}; object.push(object1); This wont work because I'm essentially trying to do something like: var hash={name: , label: }; var n= someNumber; var

How is Trello iPhone app developed?

白昼怎懂夜的黑 提交于 2019-12-03 09:36:51
问题 I was wondering which libraries or frameworks Trello iphone app is using. Is it a webapp with JS framework? if yes, which one? Or is it native? which frameworks for this here? I'm curious because I really like the UI, and has searched the internet without luck. 回答1: I'm on the Trello team and wrote the iPhone app. It's all native code except for the attachment viewer, which is just a WebView. We use RestKit to communicate with our API and help cache the data locally to CoreData. Otherwise, it

How to authorize and post/update Trello card from a Google docs script

梦想与她 提交于 2019-12-03 05:06:14
I have a Google Docs Spreadsheet that I'd like to use to update referenced cards in Trello. I've had some success with oauth and pulling data via their HTTP API, but am stuck with the following: 1) it seems Trello's code.js requires a window object, which the Google Doc script doesn't provide. So, I am stuck using their HTTP API. 2) authenticating via OAuth works, but only gives me read access. I cannot update cards with the token I am able to get. function test() { var oauthConfig = UrlFetchApp.addOAuthService("trello"); oauthConfig.setAccessTokenUrl("https://trello.com/1/OAuthGetAccessToken"

How does Trello show history so quickly?

梦想与她 提交于 2019-12-03 01:43:26
问题 Trello shows a historial log of everything that any user has done since the board's inception. Likewise, if you click on a specific card it shows the history of anything anyone has done related to that card. Keeping track of every change/addition/deletion that is kept indefinitely must collect a ton of data and also potentially bottleneck on writing to the history trail log (assuming it is written immediately to a data store of sorts). I mean, it isn't like they are storing everything in log

Trello API: getting boards / lists / cards information

≡放荡痞女 提交于 2019-12-03 01:17:33
Using Trello API: - I've been able to get all the cards that are assigned to a Trello user - I've been able to get all the boards that are assigned to an Organization But I can't get any API call that returns all the lists that are in an Organization or User. Is there any function that allows that ? Thanks in advance I don't believe there is a method in the Trello API to do this, so you'll have to get a list of boards for a user or organization: GET /1/members/[idMember or username]/boards Which returns (truncated to show just the parts we care about): [{ "id": "4eea4ffc91e31d1746000046",