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.
@milynnus you're correct, you can retrieve pluginData but not update it.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.