Detailed Flutter API Tutorial | Fetch Data from Internet | Flutter Tutorial

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • In this video we will learn to fetch data from the internet using api calls.Learn to do API Integration in your application. Getting data from Internet i.e getting data using api requires the response to be parsed.
    In this video we will learn to parse different types of data and handle them in your mobile application. You can get the sample APIs from our website,
    www.thegrowingdeveloper.org
    Yes our website is now live ! Go and check it out.
    If you like my work , you can support me by donating through PayPal:
    www.paypal.me/thegrowingdevel...
    Become a Patron -
    / thegrowingdeveloper
    Don't use PayPal? You can support from the link below 😇
    rzp.io/l/thegrowingdeveloper
    ________________________________________________________________________
    For more tutorials subscribe to the channel :
    ruclips.net/user/TheGrowingDev...
    COVID-19 Mobile app complete tutorial -
    • COVID 19 App | Flutter...
    Flutter 21 Days Challenge:
    • Flutter 21 Day Challenge
    For other videos on Flutter:
    • Flutter Tutorial for B...
    Do like and follow 'The Growing Developer' on other social platforms as well. Below are the links -
    Facebook link - / thegrowingdeveloper
    Instagram Page link - / thegrowingdeveloper
    LinkedIn Profile - / singh-saheb
  • НаукаНаука

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

  • @faizc9984
    @faizc9984 4 года назад +3

    Superb. Liked it even before watching :p

  • @JAY-bo7tg
    @JAY-bo7tg 2 года назад +1

    Nice easy... I'm beginner...
    This video is very helpful for me thank you so much

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

    thank you soo much, you helped me

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

    Thanks a lot to show each type of apis response format.

  • @motabarjavaid5482
    @motabarjavaid5482 4 года назад

    Thankyou so much,. you really made it look simple asf. Much appreciated.

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

    very helpful tutorial. just amazing❤❤

  • @SebaP1991
    @SebaP1991 Год назад +1

    Thank you so much for the video! Could you also explain how to get a random element from the list in the API? Thank you

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

    hi sir, im a beginner and i have live running website and im try to convert it into a app and i have designed my own ui in flutter and how do i pull the login data from the website

  • @AlbertoRodriguez-oe6jo
    @AlbertoRodriguez-oe6jo 3 года назад +2

    Thanks for this amazing tutorial

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

    Best ever.i watch lot's of video to learn http.but i can't.but you helped me alot

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

    Kya Mast Smjaaya hai Saheb bhai!!! Tackling with Error intentionally, that's the thing we Learners need. Just After a minute I gave a like then watched the rest.

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

    Many thanks for this video - I found it very helpful

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

    Superb video bro, the video explanation is so great. What is like was that you explained every concept clearly. Hats of man.....🥰🥰🥰🥰

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

    bro i need to fetch my own website user details and authenticate withe my flutter app how to do tht pls tell bro

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

    Thank you ❤️

  • @andredippenaar
    @andredippenaar 4 года назад +1

    Can't believe you posted this. I've been struggling for last 2 days working with a really large API dataset and I think Map is going to solve my problem. Was about to write on Facebook asking if someone will help me figure out how to work with complicated API's. Refactoring this into Model would be useful, especially how you would Map different sets of data.

    • @andredippenaar
      @andredippenaar 4 года назад +1

      Actually that won't work. How would you Map if the data had an index before each item i.e. {3 items
      "result":true
      "itemsCount":3720
      "items":{
      "backpack":
      [
      0:{
      "id":"BID_451_HolidayDeck"
      "name":"2020 Kickflip"
      "type":"backpack"

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      Glad it helped! 😊

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      This is a named array and this type of structure is seen in php , let me check if we have some way to parse it

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

    Nice and easy to learn about api...thank you so much....💯🔥

  • @AsikZaman
    @AsikZaman 4 года назад

    your teaching is awesome...
    love u bro

  • @metachain5345
    @metachain5345 4 года назад

    wow really cool bro.first like and first cmt.keep going bro,i always stand with you and your channel

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

    Excellent!!! Thank You!

  • @ridho-8531
    @ridho-8531 2 года назад

    Thanks bro, very nice

  • @vishnuk5007
    @vishnuk5007 4 года назад

    You are awesome ❣️ bro..... It's really helpful

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

    wow :o love it....really nice explanation...keep doing

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

    Kindly tell me how to display only each user's data on their own login. I did it in Firebase, but how can I do it in Rest API

  • @deepak_00
    @deepak_00 4 года назад +1

    Thanks for making great videos. I am watching many video from your channel and learning making and designing Apps.
    Just one question how can i fetch JSON API periodically in background ? I tried with work manager but could not able to do. please help

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      You need to add services natively for each platforms to make it work propely, However fetching API data when app is not in use is not recommended.

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

    Thank you Sooo much Sir.

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

    Best tut ever seen.. If any one begginer see this

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

    thank alot

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

    Nice

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

    thaks, best teaching.

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

    Thanks a lot :)

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

    Amazing Explanation

  • @BrYarDJ
    @BrYarDJ 4 года назад

    nice tutorial bro, i hop create tutorial about search for listview and or like it. thanks

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

    Thank you, very nice and easy-to-follow explanation!

  • @CSSuccessGamer
    @CSSuccessGamer 4 года назад

    nice tutorial, nice website!

  • @imPriyankCoder
    @imPriyankCoder 4 года назад

    wow what a great explanation. Could you please show how to do grid view dynamically

  • @SaurabhKumar-ir4le
    @SaurabhKumar-ir4le 3 года назад

    It is very helpful .

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

    Sir how to do if we have array that in array? for example:
    {
    "test": "OK",
    "test1": "ok2!",
    "Details": [
    {
    "Information": [
    {
    "info_id": 1,
    "name": "Romeo",
    },

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

    Amazing

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

    QUESTION: How to handle this API fetched map data when there are a lot of things going with their uses. During loops, similar-looking stateful widgets passing to other pages, etc. I am making a 7 Day forecast app in Flutter and it's driving me crazy. I can build static visual UI but I don't know how to fill them with data. Could you please guide me towards API data handling in a two-page weather app?

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

      Yeah sure!! I suggest you to watch my latest video on writing professional code. You'll figure the answers yourselves!! If not, I'm always here.

  • @andrewvillegas122
    @andrewvillegas122 3 года назад +1

    Quick question! What if I wanted to show the string with a specific id? For example, I would like to show the 'title' that corresponds to 'id' (2). What would this look like? And thanks!

  • @theodiclick6847
    @theodiclick6847 4 года назад

    Thank you very much for the concept.
    Now I am feeling comfortable to work on the API. Even just after your tuto i have made something of my own & succed with that
    I have two request can you just show us other methods of working with APIs.
    And user login and signup with the REST API will be appriciate
    Thanks again for the sharing

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      Glad to hear that! We will cover these concepts as well in near future

    • @theodiclick6847
      @theodiclick6847 4 года назад

      @@TheGrowingDeveloper Cool
      Looking forward for that.

  • @darthvader098
    @darthvader098 4 года назад +1

    Sir please make a video on how to implement funtionality of add to favorites to local database using sqflite where data is coming from json api

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

    For me i got error message the String stringResponse; line says: Non nullable instance field must be initialized. Any idea why is not working and for you there is no error?

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

    I have been struggling with api key. During my research i found out about headers could you help me on how to use the headers to keep the api key

  • @esmeraldaurena3968
    @esmeraldaurena3968 4 года назад +1

    It would've been awesome if you scrolled through the full code at the end because I missed something and had to go back haha, but great video thank you!

  • @nayeemhasan1610
    @nayeemhasan1610 3 года назад +1

    i'm getting 'the argument type string can't be assigned to the parameter type uri' error, can you please help me why i'm getting this error

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

      Can you show me the code? You can share the screenshots on any of my social handles 😊

    • @komalastawala1459
      @komalastawala1459 3 года назад +1

      I'm also having the same error

    • @shahrinhasan4545
      @shahrinhasan4545 3 года назад +1

      I am also getting the same error and link is not same as the video. is there any solution ?

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

      The http get takes up an Uri now so you can just write Uri.parse("your url") instead of just url

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

    Do you have source code related to this?

  • @junama10
    @junama10 4 года назад

    Muy bueno. Excelente explicación

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

    Bro where to store videos on server when making a udemy clone app i want to store recorded video

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

    You have a knack for teaching. Very few people have that. Keep going. All the best!

  • @bikramshah9816
    @bikramshah9816 4 года назад

    awesome

  • @Praveenkumar-cj2ff
    @Praveenkumar-cj2ff 2 года назад

    i get error in url line ,"The argument type 'String' can't be assigned to the parameter type 'Uri' ".

  • @vishnuk5007
    @vishnuk5007 4 года назад

    Bro, if the "facts" contain another array just like this:
    "facts" : [
    "id": 1,
    "data":[
    {
    "type":"Normal"
    }
    ]
    ]
    what we do?

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      Just look at the opening and closing braces. Based on that you can decide on the Structure to use.

  • @Sonu-wi9ne
    @Sonu-wi9ne 3 года назад

    Why you have not used fromjson methods and factory methods

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  3 года назад +1

      I tried to keep any more complex stuff out of the picture at that time. Now as we have progressed pretty far, I'm planning a video on the same.

  • @001Debjeet
    @001Debjeet 3 года назад

    after flutter null safety
    every List, Map declaration needs late modifier
    but its shows an error of Late InitializationError

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

    how can we get all divs of a website?

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

      make get request on the html page and write the logic to separate based on

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

    I want to print my facts data to next screen! How can I do that?

  • @top10thingwhichyoushouldkn37
    @top10thingwhichyoushouldkn37 4 года назад

    please make video on rest api also

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

    can i get source code?..

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

      I don't have the source code for it yet. You can read about it at thegrowingdeveloper.org

  • @sribalanagasairamasasankga615
    @sribalanagasairamasasankga615 4 года назад +1

    Make apps like Spotify clone or youtube clone using flutter please

  • @metachain5345
    @metachain5345 4 года назад

    Can u make a tutorial with firebase

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      Soon Kyaw Kyaw Thar 😊

    • @metachain5345
      @metachain5345 4 года назад

      The Growing Developer Thanks you bro.I always focus on your channel and I told my friend from work about your channel and they’re all feel very well.Most of my friend including me coming and working from Swift native and Flutter&Dart are new language & framework for us and the we’re all a lot to expect on flutter

    • @TheGrowingDeveloper
      @TheGrowingDeveloper  4 года назад

      That's great 😊 Thanks

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

    not working buddy ....I am not getting any response

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

    👏👏👏👏👏🤜🤛

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

    [
    {
    "Name":-.....
    "Type":-[
    {
    "title"-
    "IP"
    }
    {
    "title"-
    "IP"
    }
    ]
    }
    ]

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

    you voice has grammatical mistakes

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

    This video helped me a lot
    God bless you bro
    I was learning api implimentation from a week
    But no shit gets inside my head
    Especially http.get one
    This video is LIT👌