# API return

**URL:** <https://community.glideapps.com/t/api-return/29730>\
**Category:** Ask for Help\
**Tags:** custom-code\
**Created:** [July 30, 2021, 3:40am UTC](https://community.glideapps.com/t/api-return/29730 "2021-07-30T03:40:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [July 30, 2021, 3:40am UTC](https://community.glideapps.com/t/api-return/29730/1 "2021-07-30T03:40:45Z")

</div>

Hello,  
API’s can return multiple parameters.  
So we can return an array, then make several SingleValue columns (row …) to separate the values.  
Well, it’s a bit of a DIY, but it avoids having to call the API several times for each parameter!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/3/d3737b1a0e7191ab88403fc74da62c1795fc8980.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/f/0fbb5c226f7db6096b1f486d4ff4a4ebe3499447.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/0/b02189f5f881973f45ff7ed6a4a7f30a067a425e.png)

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [July 30, 2021, 3:55am UTC](https://community.glideapps.com/t/api-return/29730/2 "2021-07-30T03:55:36Z")

</div>

That is what I was thinking 2-3 days ago.

Let me improve my skills with Replit and test my code to exchange ideas/solutions. I have been busy these days to test, debug and test again some ideas.

Thanks @Manu.n

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [July 30, 2021, 4:32am UTC](https://community.glideapps.com/t/api-return/29730/3 "2021-07-30T04:32:15Z")

</div>

I think @Mark has some ideas for supporting types like this in Glide.

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [July 30, 2021, 4:37am UTC](https://community.glideapps.com/t/api-return/29730/4 "2021-07-30T04:37:46Z")

</div>

Yes Yes  
It’s great, if we can make a return (for example of JSON type) to name the values, and retrieve them with a Lookup type column (on the same principle of a relation).  
But I trust @Mark to do something great for us 😀

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [July 30, 2021, 5:21am UTC](https://community.glideapps.com/t/api-return/29730/5 "2021-07-30T05:21:51Z")

</div>

On the subject,  
in my example api, it is possible to return the list of all countries ([https://restcountries.eu/rest/v2/all](https://restcountries.eu/rest/v2/all)) (several hundred !!) I wanted to display it in an "inline-list "but with at least 3 parameters (name, capital, flag).  
impossible at the moment. 😪
