Guide: How to get JSON data from an Api using dictionaries (and show it on a dynamic cardview)

The results are in lists , so you have to use for each item in list block or for each number from … to … by … block or select a specific record using index in list

3 Likes

Hello,

Thank you for your wonderful guide. Is it working with woocommerce API(used for wordpress plugin).I want to take product price,quantity and product pictures. I’ve created API key by woocommerce but i could not succes.Here is the woocomerce docs, which parametres need i use?

https://woocommerce.github.io/woocommerce-rest-api-docs/?shell#list-all-products

This post was flagged by the community and is temporarily hidden.

1 Like

What did you try , after read this post ?

1 Like

@Rogerio_Rios i tried but… can not get it…

1 Like

Did you Try ?json walk

3 Likes

I am getting error
i set blocks like this
blocks (3)

and i set response content in label, and this happen, this is not in json formate

and i tried that link in chrome and that works fine

1 Like

You have to use call web1 Json Text Decode block , see step 1

2 Likes

@Rogerio_Rios Thanks

1 Like

This user is making a movie sharing app with illegal and pornographic movies. This is not allowed. This user can loose his developer account. Always be careful who you help :wink:

4 Likes

An error appear,
i set block like this


and i got result

But when i tried same link in web viewer component then this happen it return result as json formate, where web component return result in html formate

whats the solution

1 Like

I didn’t really look like more attention to Json’s links. I didn’t see it was that kind of content. I only focused on the field / tag “id”.

:no_mouth:
:+1:t2:

I will be more careful not to waste my time.

3 Likes

Can you help me, please?
In this image the shape of the json file


And I’m trying to get the first element, for example, like in this picture.
But unfortunately I can’t.

1 Like

I want to bring the first oject to label1, for example.

1 Like

Can you help me

1 Like

Did You try ?
image

3 Likes

I’m also facing same issue anybody plz help me…

1 Like

After 30 days you have to pay newsapi, see below

1 Like

I’m getting error of 403… What to do for that…

1 Like

And plz suggest which one is the best free API for news…

1 Like