Planview AgilePlace (Leankit) API (RESTful JSON)
Show older comments
Hi,
I am a Leankit user. I am trying to access my boards and cards via a Matlab script.
The Leankit documentation states:
Our RESTful API allows you to programmatically leverage the power of AgilePlace. All APIs use https and are based at https://<yourhostname>.leankit.com/io/. Our APIs use standard http authentication, response codes, and verbs. Data is sent and received as JSON unless specified otherwise.
I understand I should be able to access the API with the "webread" function.
data = webread(url)
- I am not sure what url I should enter here exactly (it must be something like "https://<yourhostname>.leankit.com/io/").
- I believe I have to generate a token. I tried to enter it by doing as follow:
opt = weboptions('KeyName','token','KeyValue','myTokenHere');
data = webread(url,opt)
In the options, there are also a Username and Password fields. Do I need to edit those? If yes, do I need to enter my Leankit logins (I find it strange to enter my password unhidden...)
Finally, the next step would be to access the different "fields" (boardLevel, card, etc).
I am thankful for any tip.
Paul
1 Comment
Paul
on 15 Aug 2023
Accepted Answer
More Answers (0)
Categories
Find more on JSON Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!