Fetching Data From an API | Day 17 | 100 Days of Machine Learning

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • Getting complete and high-performance data is not always the case in Machine Learning. While working on any real-world problem statement or trying to build any sort of project as Machine Learning Practioner you need the data. To accomplish the need for data most of the time, it is required to fetch data from API and if the website does not provide API, then the only option left is Web Scraping.
    In this tutorial, we are going to learn how you can use API, extract data and save it in the form of a data frame. Fetching Data from an API involves accessing and retrieving structured data from web services, offering a convenient way to obtain real-time or specific information.
    Code used: github.com/campusx-official/1...
    TMDB API : developers.themoviedb.org/
    RapidAPI : rapidapi.com/collection/list-...
    JSON Viewer: jsonviewer.stack.hu/
    ============================
    Do you want to learn from me?
    Check my affordable mentorship program at : learnwith.campusx.in/s/store
    ============================
    📱 Grow with us:
    CampusX' LinkedIn: / campusx-official
    CampusX on Instagram for daily tips: / campusx.official
    My LinkedIn: / nitish-singh-03412789
    Discord: / discord
    Instagram: / campusx.official
    E-mail us at support@campusx.in
    ⌚Time Stamps⌚
    00:00 - Intro
    00:30 - What is an API?
    05:45 - Getting TMDB data with API
    12:10 - Code Demo
    20:33 - Uploading Dataset on Kaggle

ความคิดเห็น • 124

  • @pankajskilldevelopment3950
    @pankajskilldevelopment3950 ปีที่แล้ว +10

    It's really required strong Hindi content for data science, thank you brother

  • @lvilligosalvs2708
    @lvilligosalvs2708 11 หลายเดือนก่อน +1

    Immensely grateful for what you're providing. Best content bar none!!

  • @zainabsalahuddin8286
    @zainabsalahuddin8286 ปีที่แล้ว +1

    by far the bestttt video i have seen on Web Scraping with the help of API's. You should definitely make a playlist covering Web Scraping.

  • @vinayshukla3800
    @vinayshukla3800 2 ปีที่แล้ว +5

    Amazing explanation and thanks sir for giving this type quality content at free of cost.

  • @AbdurRahman-lv9ec
    @AbdurRahman-lv9ec 6 หลายเดือนก่อน +4

    Kudos, Nitish ! Your teaching style is phenomenal, and I've learned so much from your Python and Machine Learning tutorials. As I delve deeper into my passion for data engineering, I can't help but wish for a mentor like you in this field. Your guidance would be invaluable. Any plans to explore data engineering topics?

  • @mujtwaali
    @mujtwaali ปีที่แล้ว +2

    Uplifting session, I have seen this kind of channel very simple and easy explanation Thanx a lot

  • @shaleen2005
    @shaleen2005 ปีที่แล้ว +2

    u are doing immensely great work
    keep it up
    very nice teaching methodology
    an ur knowledge is tremendous on the subject

  • @stevegabrial1106
    @stevegabrial1106 3 ปีที่แล้ว +10

    With all due respect, only few people share their knowledge and in those few spread their knowledge on air. U one in those. Plz keep going to make century.
    Can u plz zoom little jupyter page in next video.
    Thx

  • @santoshkamble9189
    @santoshkamble9189 2 ปีที่แล้ว +20

    i have reached till day 17, and i really appreciate your work, please keep up the good work. I am an experience DS, but still your videos helped me a lot. Thanks bro.

    • @sathvikreddy4807
      @sathvikreddy4807 11 หลายเดือนก่อน

      so what happened?
      got a job?

  • @TheUmer74
    @TheUmer74 ปีที่แล้ว +1

    Loving your teaching style ...

  • @GatikSky
    @GatikSky หลายเดือนก่อน

    Its really good and to the point for DA and BI experts

  • @depalvveturkar
    @depalvveturkar ปีที่แล้ว

    Thank you Sir for this, I had never generated any data. Also the information which you gave on boosting Kaggle profile. Thank you

  • @coding_world_live9
    @coding_world_live9 2 ปีที่แล้ว +2

    Thanks man , wonderful tutorial

  • @ANUbhav918
    @ANUbhav918 หลายเดือนก่อน

    khattam..finnish... such a superb video. hats off to you man !

  • @remosingh5881
    @remosingh5881 11 หลายเดือนก่อน

    awesome video! thank you so much for your efforts .

  • @atifsalam6802
    @atifsalam6802 ปีที่แล้ว

    Bundle of thanks, you helped us lot, keep it up

  • @SACHINKUMAR-px8kq
    @SACHINKUMAR-px8kq ปีที่แล้ว

    Thankyou So much Sir for your Contribution 😃

  • @narendraparmar1631
    @narendraparmar1631 6 หลายเดือนก่อน

    Thanks for sharing this quality content.😀

  • @arpitajana947
    @arpitajana947 2 ปีที่แล้ว +3

    I am a fan of you sir, Thanks for sharing your knowledge ! With every passing video, I m gaining a little more confidence and knowledge

    • @kalpanakanwaria4197
      @kalpanakanwaria4197 ปีที่แล้ว +1

      I am feeling the same very unconfident but after watching his videos gaining little confidence day by day thank you for the amazing and knowledgeable videos.

  • @syedasad5037
    @syedasad5037 ปีที่แล้ว

    best machine learning playlist in hindi

  • @AbdulHannan-dg6dl
    @AbdulHannan-dg6dl ปีที่แล้ว

    Ek number bhai
    ap nay dil jeet liya
    bht shukriya apka ap bht achy sy sub kch bta rhy ho 😍

  • @DHARMATRIVEDI
    @DHARMATRIVEDI หลายเดือนก่อน +1

    GOLD! Thanks a lot

  • @mohdfaisal4725
    @mohdfaisal4725 ปีที่แล้ว

    You are a savior!! Thanks a lot!

  • @jinks3669
    @jinks3669 2 ปีที่แล้ว +2

    Saraswati maa ko actual tribute to aapne diy hain bro .
    Naman to your dillegence.

  • @HardikPatel-yn2nv
    @HardikPatel-yn2nv ปีที่แล้ว

    Hi..i really appreciate you..And love to listen and watching videos..many things I learnt from you.. just say..great great..bless u.thank you very much..🎉

    • @avanibaheti6117
      @avanibaheti6117 ปีที่แล้ว

      hello, actually i was trying running this code but it is giving me the error that pandas do not support apped function use concat oinstead , I am not getting how to remove that problem. Would you please help me if you have run this code

  • @maheshgoudapatil4408
    @maheshgoudapatil4408 25 วันที่ผ่านมา

    Nice video sir, to understand how to use the API's in Python

  • @PamTiwari
    @PamTiwari หลายเดือนก่อน

    You are gem Sir!

  • @grandson_f_phixis9480
    @grandson_f_phixis9480 หลายเดือนก่อน

    Thank you very much sir

  • @arjunms6035
    @arjunms6035 2 ปีที่แล้ว +1

    Awesome🔥

  • @dhruvbhati3628
    @dhruvbhati3628 2 ปีที่แล้ว

    Thank you sir😁🙌🙌

  • @arthambhardwaj
    @arthambhardwaj หลายเดือนก่อน

    awesome content

  • @richaaggarwal07
    @richaaggarwal07 2 ปีที่แล้ว

    thanks a lot sir !😊

  • @dhananjayyeole7076
    @dhananjayyeole7076 ปีที่แล้ว

    Thanks Sir!!

  • @rohitbedse5134
    @rohitbedse5134 3 หลายเดือนก่อน

    Respect Man ❤

  • @AlayaKiDuniya
    @AlayaKiDuniya 2 หลายเดือนก่อน

    Well appreciated. Love from pakistan nitish sir.

  • @sandipansarkar9211
    @sandipansarkar9211 ปีที่แล้ว

    finished watching again for better praactice

  • @Sy06274
    @Sy06274 ปีที่แล้ว

    you are Awesome 😎😎😎😎

  • @yashodhanvivek8086
    @yashodhanvivek8086 2 ปีที่แล้ว

    u r awesome..

  • @samarnaama
    @samarnaama ปีที่แล้ว +1

    #thankyou_note
    First of all thankyou sir for such an informative video. I am a person from a non-CS background, and so far, the series has been very much interesting.
    #RapidAPI_problem
    The issue is that I tried pulling some data from RapidAPI, but most of it has 100-200 rows. Or may be I need to explore more. It is a common issue for most of us recent learners, on how to fetch data from Rapid API. If you guide us a bit over it. That would be highly beneficial for us noobs.
    #My_efforts
    Though, I did from a website called AlphaVantage, and most of these sources, having APIs provide code too. For example, I was able to get data of IBM stock for a month. Is that all right? Any other suggestions for this?

  • @zkhan2023
    @zkhan2023 3 ปีที่แล้ว +2

    You are the best teacher in my whole programming career love you sir for this valuable information

  • @JustPython
    @JustPython 9 หลายเดือนก่อน

    Nice video

  • @shlokkumar6257
    @shlokkumar6257 5 หลายเดือนก่อน

    found it sir, thank you sir.

  • @sandipansarkar9211
    @sandipansarkar9211 ปีที่แล้ว

    finished watching

  • @Softnichub
    @Softnichub ปีที่แล้ว

    I am facing some problems with extracting links from an excel sheet to make a data frame. I have done so much research but have not done it yet. Please do help me.
    Thank you so much in advance.

  • @vikrantchoudhary4411
    @vikrantchoudhary4411 11 หลายเดือนก่อน

    too good!!!

  • @vikaskadam9842
    @vikaskadam9842 ปีที่แล้ว

    sir you are gem, thanks for knowledge sharing😊😊😊🙏🙏🙏🙏

  • @AbhishekKumar-oc9vm
    @AbhishekKumar-oc9vm ปีที่แล้ว

    Sir, why is DSA important for machine learning because I am thinking of learning it, but that will take me a lot of time. Should I learn DSA or not?

  • @shaleen2005
    @shaleen2005 ปีที่แล้ว +1

    the jupyter cell cannot run when i am giving it the requests.get('copied url form api correctly')
    it shows * in respective cell number
    please help
    thx

  • @adarshkaintura2502
    @adarshkaintura2502 5 หลายเดือนก่อน +1

    Sir the thing wo api link show hi nhi karra hai, kuch or hi api aara h

  • @gautamsah5075
    @gautamsah5075 หลายเดือนก่อน

    sir, i couldn't lfind movie section that is shown in your screen. 06:18,
    and not getting api option, so let me use your api. i tried with 2 google accounts.

  • @zainfaisal3153
    @zainfaisal3153 7 หลายเดือนก่อน

    Sir! Why don't we convert SQL and API fetched data to csv or json file and work with it easily?

  • @atharvkazarid2-354
    @atharvkazarid2-354 หลายเดือนก่อน +1

    sir. in getting error that 'AttributeError: 'DataFrame' object has no attribute 'append'' but its working using concat method....
    anyone facing this issue can try this

  • @mohammadkhan596
    @mohammadkhan596 3 หลายเดือนก่อน

    I need the pull data from ERP to google sheet using python code then how will to do

  • @kshamapathak4693
    @kshamapathak4693 8 หลายเดือนก่อน

    Hello sir.. I m not able to get the JSON file, even the option like u get to submit the API key.. just a Try it box is generated and in that my key has already pasted..result is i m getting 401 error
    can u help?

  • @vivekvicky748
    @vivekvicky748 ปีที่แล้ว

    Sir how do API from trading economics website I need crude oil prices dataset please sir reply🙏??

  • @jillanisofttech2977
    @jillanisofttech2977 2 ปีที่แล้ว

    Sir ic ma movies k link kisyee add kryee gayee????

  • @ayeshaashraf191
    @ayeshaashraf191 6 วันที่ผ่านมา

    link of tmdb api in which we have to select movies and then top rated movies sir i'm not able to find top rated movies can any tell me

  • @suyashdahale4355
    @suyashdahale4355 10 หลายเดือนก่อน

    I am getting KeyError 'results' when i am running loop

  • @shahidnoorani8193
    @shahidnoorani8193 4 หลายเดือนก่อน

    need help, i got API keys but me try kar raha hu par mujhe film rating wala api link hi nahi mila raha please help

  • @avanibaheti6117
    @avanibaheti6117 ปีที่แล้ว +1

    can anybody tell me how to fetch from rapid api

  • @Enjoyurlife1789
    @Enjoyurlife1789 9 หลายเดือนก่อน

    my kind of binge watching

  • @umasharma6119
    @umasharma6119 2 ปีที่แล้ว

    🔥🔥

  • @chinmaykonchada
    @chinmaykonchada หลายเดือนก่อน

    Hello sir, TMDB website is not responding. So can you suggest any other website.

  • @tanmayshinde7853
    @tanmayshinde7853 2 ปีที่แล้ว +7

    sir, can you make a video on how to use rapid API cause we are not getting API key.

    • @malik_fa
      @malik_fa ปีที่แล้ว +1

      Hello, see the next video of this playlist, where you are not able to get data from API or don't have API key, still you can access their data using web scraping.

    • @kiranhassankhattak6750
      @kiranhassankhattak6750 11 หลายเดือนก่อน

      ​@faisalhussain5007 can you please provide me a link

  • @omkarfadtare3054
    @omkarfadtare3054 ปีที่แล้ว

    How to getdata using rapidapi???

  • @sherin7444
    @sherin7444 2 ปีที่แล้ว +1

    for each url we are hitting different APIs right?.So each time do we need seperate API key?

  • @Star-xk5jp
    @Star-xk5jp 5 หลายเดือนก่อน +2

    day1:date:9/1/2024

  • @shineyk..9017
    @shineyk..9017 ปีที่แล้ว

    Sir I am getting key error:’results’. Plz help

  • @battelbots_shots5896
    @battelbots_shots5896 5 หลายเดือนก่อน

    why only 14 rows data is fetching ever time i hit api anyone have solution

  • @paragvachhani4643
    @paragvachhani4643 ปีที่แล้ว +1

    Sir amazing..amazing
    Right now I make my first data set from API (rickandmortyapi ) ...
    I generate csv file too sir..
    But i did all the thing on googlecolab...so i dont know where this csv file saved... I am stuff..sir
    I am not CS student but I want to make my carrer in DS.. So..

  • @gautamsah5075
    @gautamsah5075 หลายเดือนก่อน

    sir append method did not work. on using AI suggested to use concat(df, temp) and it worked.
    thank you.
    and how to export this final data, into a file for sharing/uploading?

    • @gautamsah5075
      @gautamsah5075 หลายเดือนก่อน

      ok done to csv using ( df.to_csv('data.csv') )

  • @khan-lp1fm
    @khan-lp1fm ปีที่แล้ว

    Sir ya api key mujy ni day raha ha ma log b howa layqen pir b ni day raha kia karo ma es ka

  • @krishnakanthmacherla4431
    @krishnakanthmacherla4431 2 ปีที่แล้ว

    Done

  • @MRAgundli
    @MRAgundli 3 หลายเดือนก่อน

    done

  • @user-zt3kc5we1f
    @user-zt3kc5we1f 4 หลายเดือนก่อน +1

    i am facing this error?
    AttributeError: 'DataFrame' object has no attribute 'append'

    • @mathics2869
      @mathics2869 2 หลายเดือนก่อน

      If you got the solution pls tell me

  • @jaiveersingrajput7380
    @jaiveersingrajput7380 ปีที่แล้ว

    sir please tell how to solve this 404 error

  • @deepanshukohli9105
    @deepanshukohli9105 2 ปีที่แล้ว

    How to find dynamically range of for loop?

  • @depalvveturkar
    @depalvveturkar ปีที่แล้ว +1

    Sir I am getting Key Error - 'results'. When I checked there is some issue from page 506 to 536 i am unable to download data, I have got the data before 506 page. But still around 600 movies data is missing. What needs to be done

    • @shineyk..9017
      @shineyk..9017 ปีที่แล้ว

      I am also getting same error. If yours resolve plz help me.

    • @sandalagrawal8587
      @sandalagrawal8587 ปีที่แล้ว

      I am also getting the same error, were you able to solve this?

  • @hossain9410
    @hossain9410 16 วันที่ผ่านมา

    i tried but rapidapi said i did not subscribe to their API

  • @karanparashar6824
    @karanparashar6824 3 หลายเดือนก่อน

    GOD

  • @shaleen2005
    @shaleen2005 ปีที่แล้ว

    o btw it worked
    it took some time

  • @adityashinde9040
    @adityashinde9040 2 ปีที่แล้ว

    Sir, Rapid Api pe endpoint maang rahe hai. jo bhi endpoint denge vahi bas result fetch hota hai. to pure data ko fetch kaise kare ???

  • @usmanyousaaf
    @usmanyousaaf ปีที่แล้ว

    Like ATM all bank use the api

    • @avanibaheti6117
      @avanibaheti6117 ปีที่แล้ว

      hello, actually i was trying running this code but it is giving me the error that pandas do not support apped function use concat instead , I am not getting how to remove that problem. Would you please help me if you have run this code

  • @123arskas
    @123arskas ปีที่แล้ว

    Man you're beautiful. Awesome content

  • @afeedsm6520
    @afeedsm6520 ปีที่แล้ว +2

    I didn’t get api key

    • @devloperinsights
      @devloperinsights 4 หลายเดือนก่อน

      It is the key basically for the authentication which is considered by the providing website

  • @mahipalmahato7648
    @mahipalmahato7648 11 หลายเดือนก่อน

    6:04

  • @sandipansarkar9211
    @sandipansarkar9211 ปีที่แล้ว

    finished coding

  • @anshulsharma7080
    @anshulsharma7080 ปีที่แล้ว +1

    Sir Api key invalid bta ra h, jbki hme naya account bnane k bad hi mili h key

    • @shashwatraj3842
      @shashwatraj3842 ปีที่แล้ว

      same problem

    • @anshulsharma7080
      @anshulsharma7080 ปีที่แล้ว

      @@shashwatraj3842 api key shi se daalo ni btayga

    • @anshulsharma7080
      @anshulsharma7080 ปีที่แล้ว

      @@shashwatraj3842 watch closely not even a single (.) is allowed with your api key

  • @anshulsharma7080
    @anshulsharma7080 ปีที่แล้ว +1

    Code execute ni hua last m sir, in the upcoming versions append function will be removed so it is asking to use pandas. concat instead.

    • @gauravtricks8267
      @gauravtricks8267 ปีที่แล้ว

      Same happened with me if you found the solution please share

    • @anshulsharma7080
      @anshulsharma7080 ปีที่แล้ว +4

      @@gauravtricks8267okei buddy, df =pd.concat([df, temp_df ], ignore_index=True) .

    • @aakashmaddheshiya11
      @aakashmaddheshiya11 ปีที่แล้ว

      @@anshulsharma7080 thank u brother it worked very well

    • @ShreyansLakade
      @ShreyansLakade 8 หลายเดือนก่อน

      @@anshulsharma7080 thank you brother..!

  • @saurabhbarasiya4721
    @saurabhbarasiya4721 3 ปีที่แล้ว +1

    api create karne me issue aa raha h

  • @zee4654
    @zee4654 2 ปีที่แล้ว

    ye website to verification krny pr b verification mang rha bht bkws site ye movie wali .

  • @ayeshaashraf191
    @ayeshaashraf191 9 วันที่ผ่านมา

    26_6_2024

  • @Enjoyurlife1789
    @Enjoyurlife1789 9 หลายเดือนก่อน

    anyone got api?

  • @ankitlakshya450
    @ankitlakshya450 7 หลายเดือนก่อน

    can we do this for power bi

  • @singnsoul6443
    @singnsoul6443 ปีที่แล้ว

    Thank you sir

  • @123arskas
    @123arskas ปีที่แล้ว

    Man you're beautiful. Awesome content