Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API for Map Power Up

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2020

Update : found out that attribute for location can now be updated using API or in my case using the py-Trello library. 


The Map power up is a useful addition for many applications you can built around Trello.

Are there any API and or implementation of it that will allow developers to add locations into a card. The py-trello on github allows developers do it with custom_fields. Can it be done for api. The API documentation has a get <field> so to retrieve seems possible but what about to set and change the values?

 

Related to Map. would it be possible to have more than 1 location in a card. 

2 answers

1 accepted

0 votes
Answer accepted
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 2, 2020

@milynnus you're correct, you can retrieve pluginData but not update it.

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2020

It would appear strange that you can retrieve and update the location on the iOS Trello app that this cannot be done via an api. Do you know if this is would be considered for a future feature?

Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 2, 2020

@milynnus I'm pretty sure the ability to update pluginData from an API key other than that used to create the app in the first place would be a security risk. Imagine for example some situation where data had been stored by a plugin that then expected that data to be in a particular format for use with other information from other cards, then when combined with faulty data posted by another app it would render the entire thing corrupt or be subject to some sort of malicious attack or denial of service.

milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2020

Not sure I can agree with you. That is precisely what API is suppose to do when made available to Developers. For example the Power Up for Custom Fields has a set of published API to get the definitions, retrieve fields by name, and a set method to update the values. In the case of Maps, I have inspected the json output for Action when a location is entered has several fields include the longitude and latitude, user name for the location and one more. Typically an front end E.g. a bot would take in a location values like what you would normally do on WhatsApp, iMessage or Telegram when you share location with a friend to update the values. It is just that for Maps Power Up the method to update(set) is not published or made available. See py-Trello in Github for one implementation of the API. 

0 votes
Jake Scott-Hodes March 13, 2024

@Iain Dooleychecking in to see if this has changed at all. I've been working on a 2way sync between google calendar and would love the ability to pass along location information between the two.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events