Having Fun with the Star Wars API

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 15

  • @SteveGriffith-Prof3ssorSt3v3
    @SteveGriffith-Prof3ssorSt3v3  3 года назад +1

    One feature that I didn't mention is the "search" parameter that you can add to the querystring if you want to search against the name or title fields.
    Eg: swapi.dev/api/species?search=wookie
    Would run a search through the species dataset for anything that matches "wookie".

  • @mikebryan3270
    @mikebryan3270 3 года назад

    I struggle with javascript but your videos have helped me improve my skills. Thanks for sharing

  • @kietskeeb
    @kietskeeb 3 года назад

    Came for the title stayed for the content

  • @ricardodesirat2590
    @ricardodesirat2590 2 года назад

    Hi Steve. Another great lesson!
    Do you have one with that last thing you mentioned about having it in a cached version? That is, fetching the API, saving it in local storage or SW and use it with pagination.
    I've searched your channel but didn't find it.
    Thanks!

  • @thetahirrehman
    @thetahirrehman 2 года назад

    how to show div in main .. if i want to show each name on a div in a conatiner ..can we return a div in a main element like m in the above example

  • @johnmordecai2776
    @johnmordecai2776 Год назад

    Pardon my very n00b question, but can you explain writing all the JS logic in the "APP" object? I don't often see it this way... is it just a matter of making the code more streamlined?

  • @sinsin7843
    @sinsin7843 3 года назад

    thanks as always

  • @tenminutetokyo2643
    @tenminutetokyo2643 3 года назад +2

    These are not the parameters you’re looking for.

  • @Myownset
    @Myownset 2 года назад

    Ok

  • @mustaneerhaider515
    @mustaneerhaider515 Год назад

    this api sucks ai provides no image for any resource. Idk why the maker forgot to add image field.