Pull data from API using Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 มิ.ย. 2023
  • How to pull data from rest api and push it to sql server
    JSON data to database using python
    #python #data #dataanalytics #datavisualization #restapi #api #dataengineering #pipeline

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

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

    Super helpful video. Thanks mahn🤗

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

      Thanks Prince, Glad you liked it ☺

  • @nikhilchakrapani3542
    @nikhilchakrapani3542 10 หลายเดือนก่อน +2

    Very helpful! Thank you.

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

      Thanks Nikhil!

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

    Thank you, you made the process very easy!

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

      Glad it helped

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

    Very helpful 👍

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

      Thanks Charan !

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

    very useful :) thank you

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

      Thanks Narasimha

  • @user-gn9rf2dl8o
    @user-gn9rf2dl8o 7 หลายเดือนก่อน

    I am trying to connect to Sql workbench but always get error, I dont know exact code for engine. Any help is appreciated.

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

    For all 3 imports, can you please help with the error :: Import 'requests' could not be resolved by Pylance???

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

    Excellent man

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

      Thanks Madhusudan!

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

    Can you please provide website or resource where can we find such free APIs

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

    Did you already create the 'FactCrypto' table in MSSQL before connecting or you just gave a table name.
    I am trying to write to SQL but I always get error.

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

      Just gave a table name

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

    Hi, Do i need to create a DB structure in MSSQL first and then write code to fetch data? Or will it create the table automatic??

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

      Hi Tejaswi, just create database , table will be created automatically with the name you provide

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

    In that suppose same data came again how it will load for example yesterday one row it's ram next day also we get same data how to it will load this Data this means duplicate data.

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

      Hi Samhudaya, In 'if_exists' parameter use 'append' as value so that it'll load only new rows to the table.

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

    In which tool you are creating this phython code?

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

    Hi, I have a key for api (trial version) of printfriendly website.. is this video meant for the purpose of "How to extract that api & use it forever for free" ?

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

      Hi, yes boss

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

    How we can automate the process of data fetching from a live data API and data dumping without running the code again and again?

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

      Hi Aakash, use any job scheduler like Apache airflow, SQL server agent,...

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

      Did you find a way? Im kinda of a noob and i need my code to run daily without fail in order for it to retrieve data from rest api’s and load it to our local database. I tried uploading my code to an app function in azure but since it has a dynamic ip address I haven’t been able to make it work (permission errors). Theres always task scheduler on a local computer but i can’t always trust it’ll be on. Any ideas?

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

    Can you please share API link

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

      api.coincap.io/v2/assets

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

    sql not connect

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

      SQL Server is connected

    • @user-py3hh7zr5o
      @user-py3hh7zr5o 9 หลายเดือนก่อน

      @@thebihub engine.connect show error

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

    In every video there is a different way of fetching data
    Its very confusing, which to remember

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

      Hi Suman , may I know which part is confused for you so that I can clear it