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

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

Pay a subscription or see

1 Like

can anyone help me with this json
https://api.factmaven.com/xml-to-json/?xml=https://www.youtube.com/feeds/videos.xml?playlist_id=PLwa6FbwMHt0eKI6V1oFvG0A3iJiDAO3t0

1 Like

Use jsonparseronline to understand the structure of your json, arrays, strings, objects…, after that you will be able to create your code and get needed data

1 Like

tried but not working

1 Like

I get
image

1 Like

Using newsapi you get this error ?

1 Like

Yes i am using news api

1 Like

It seems that your api is not returning right data. Try to debug the response recieved from the GotText event block and post it here.

2 Likes

I am only getting <!DOCTYPE from the response content when i decode the json text

1 Like

And when i see the response content it returns me html text instead of json

1 Like

That’s why the error is occuring. Maybe your API is wrong that’s why it is not returning the data.

2 Likes