My JSON is broken, the blocks are broken, and I don't know how to create a search engine

Hello everyone, I have a big problem.
The fact is that everything stopped working for me, starting with Images and text, ending with a json file and API.
Besides, I don’t know how to make a search engine.
I’ll send you the Json files I use now.

JSON - 1

{
 "name": "ListView",
 "metadata-version": 1,
 "author": "Thiago Cavalcanti",
 "platforms": [
   "creator.kodular.io"
 ],
 "keys": [
   "count",
   "image_url",
   "nome"
 ],
 "components": [
   {
     "id": "Main_CV{count}",
     "type": "MakeroidCardView",
     "properties": {
       "Width": -1,
       "Height": -1,
       "Elevation": 0,
       "CornerRadius": 16,
       "ContentPaddingTop": 2,
       "ContentPaddingBottom": 4,
       "ContentPaddingLeft": 0,
       "ContentPaddingRight": 0,
       "FullClickable": true,
       "AlignHorizontal": 3,
       "BackgroundColor": -14277082
     },
     "components": [
       {
         "id": "card_{count}",
         "type": "MakeroidCardView",
         "properties": {
           "Width": 128,
           "Height": 180,
           "Elevation": 0,
           "CornerRadius": 14,
           "ContentPaddingTop": 0,
           "ContentPaddingBottom": 0,
           "ContentPaddingLeft": 0,
           "ContentPaddingRight": 0,
           "FullClickable": true,
           "AlignHorizontal": 3
         },
         "components": [
           {
             "id": "img_{count}",
             "type": "Image",
             "properties": {
               "Width": 128,
               "Height": 180,
               "Picture": "{image_url}"
             }
           }
         ]
       },
       {
         "id": "nome_{count}",
         "type": "Label",
         "properties": {
           "Width": 108,
           "Text": "{nome}",
           "TextColor": -1,
           "FontTypefaceImport": "Montserrat Regular.ttf",
           "Marquee": true,
           "FontBold": true
         }
       }
     ]
   }
 ]
}

JSON-2

{
  "name": "Listview",
  "metadata-version": 1,
  "author": "Thiago Cavalcanti",
  "platforms": [
    "Kodular"
  ],
  "keys": [
    "count",
    "image",
    "nome"
  ],
  "components": [
    {
      "id": "{count}",
      "type": "MakeroidCardView",
      "properties": {
        "Width": -1,
        "Height": -1,
        "Elevation": 0,
        "CornerRadius": 16,
        "ContentPaddingTop": 2,
        "ContentPaddingButtom": 4,
        "ContentPaddingLeft": 0,
        "ContentPaddingRight": 0,
        "FullClickable": true,
        "AlignHorizontal": 3,
        "BackgroundColor": -14277082
      },
      "components": [
        {
          "id": "card_{count}",
          "type": "MakeroidCardView",
          "properties": {
            "Width": 128,
            "Height": 180,
            "Elevation": 0,
            "CornerRadius": 14,
            "ContentPaddingTop": 0,
            "ContentPaddingButtom": 0,
            "ContentPaddingLeft": 0,
            "ContentPaddingRight": 0,
            "FullClickable": true,
            "AlignHorizontal": 3
          },
          "components": [
            {
              "id": "img_{count}",
              "type": "Image",
              "properties": {
                "Width": 128,
                "Height": 180,
                "Picture": "{image}"
              }
            }
          ]
        },
        {
          "id": "nome_{count}",
          "type": "Label",
          "properties": {
            "Width": 108,
            "Text": "{nome}",
            "TextColor": -1,
            "FrontTypefaceImport": "Montserrat Regular.ttf",
            "Marquee": true,
            "FontBold": true
          }
        }
      ]
    }
  ]
}

Now I will provide all the APIs and documentation for them.

https://api.anilibria.tv/v3/title/updates?limit=10 - TOP 10 ANIME
https://api.anilibria.tv/v3/title/search?search={query} - SEARCH
https://github.com/anilibria/docs/blob/master/api_v3.md - DOCUMENTATION

I’ll send it to you now.the aia file
LoginV31 (1).aia (7,3 МБ)
I also wanted to thank the people who help me a lot.
-SyntaxCore
- Prem_Gupta
-I also want to thank the group from Telegram. t.me/mitappinventor
-As well B.S.S.SRIKAR
- Still-learning
Explanations of the reason what needs to be done
the JSON itself works well, but I messed up again in blocks and everything doesn’t work, for example, “Text, Pictures, Previews, Blocks”
There is also a problem on another Screen 3 page where I manage to create a search engine.

1 Like

Thanks :bouquet:

What is the problem & where is your blocks?

1 Like

I honestly don’t know where the problem is.
That’s why I dropped the .aia file.

What you want as a result?, firstly clear it.

1 Like

LoginV31 (1).aia (7.3 MB)

test this, i have not used extension to parse the json, simply used web component

image

1 Like

@Still-learning here below 2-3 last reply, we already fix it. But I don’t know what problem @sherbakovyt2 face, it don’t clear the problem :upside_down_face:

https://community.kodular.io/t/dynamiccomponent-help-please-json-api/292584/10?u=prem_gupta

1 Like

may be it loads, the problem is his url is not a valid one. His api calls brings the url uploaded from the device but that is not valid to set image in the image component untill it is recovered from tinydb. So it may not load, may be he feel it that it didnot load

but when i run his native aia i got this error..

image

May be he mentioned this error. also he mixed both query and search code with clock timer ( that should not be) also he enabled clock timer and this too should be disabled.

1 Like

@Still-learning & @sherbakovyt2 use json2 (means use json extension 2 times in screen) for parse url if you are using extension as a upper post, I mentioned

& For valid url

https://community.kodular.io/t/dynamiccomponent-help-please-json-api/292584/13?u=prem_gupta

1 Like

@sherbakovyt2 have 3-4 methods & many more other to fix it

URL for images: https://anilibria.tv

  1. Without Extension

image

  1. Also without Extension

IMG_20250608_200930_917

  1. Also without Extension

6199319348410172469

  1. With Extension

image

1 Like

@sherbakovyt2
test this one
LoginV31 (1).aia (7.3 MB)

1 Like