FRED API Python Tutorial - Get Economic Data

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 16

  • @Fullstack_LP
    @Fullstack_LP 8 місяців тому

    A step-by-step walkthrough of how to access FRED data after getting the api key was missing from so many other videos claiming to provide a "guide" to accessing the FRED API. This video was really helpful. Thank you

  • @damgetbags
    @damgetbags  Рік тому +1

    The Fed is helping us get this bread.
    Subscribe to join our community and receive value on all things finance and technology!
    If you love the content, buy me a coffee!
    www.buymeacoffee.com/adamgetbags
    Keep up with me!
    instagram.com/damgetbags
    twitter.com/damgetbags

  • @andreguichard4425
    @andreguichard4425 Рік тому +1

    Great Video! Thank you!

    • @damgetbags
      @damgetbags  11 місяців тому

      glad you could join us!

  • @hayley.reardon
    @hayley.reardon 6 місяців тому

    This was very helpful, a bit fast as I'm not experienced and ran into issues along the way so had to stop and troubleshoot (defining my api key, how did you do that? I added it in my command prompt but seems there's a way to do it in spyder itself) but overall very helpful!

  • @RightAIopen
    @RightAIopen 3 місяці тому

    Could you try to get GDP and population for each US city?

  • @TIMW217
    @TIMW217 8 місяців тому

    hey Adam
    Thank you for the video. Its straight to the point w/o needless puff
    I encountered the error running
    from fred_key import fred_key
    ModuleNotFoundError: No module named 'fred_key'
    though i dowloaded both fred and fred api through: "pip install fredapi" and "pip install fred"
    Will be glad to hear from you
    Good luck!

  • @myhahockey04
    @myhahockey04 Рік тому

    Hi Adam - thanks for the video. Great content! Just subscribed.
    Do you have any idea of how to best chunk out the request when the endpoints are limited to 1,000 line items? I am fairly new to coding/Python but would love any direction you could provide.

    • @damgetbags
      @damgetbags  Рік тому

      sup, myha.
      basically this - your first api call gets the first 1000 items, save items 1-1000 (to a list for example)
      then increase the offset to 1000.
      now the the second api call get items 1001 - 2000, save items 1001-2000.
      then once you've saved all the items you need, combine all the items on the list to make your combined data set.
      you see?

  • @mohameddaytona
    @mohameddaytona 11 місяців тому

    thank u so much bro

  • @Mk84321
    @Mk84321 Рік тому +1

    Hey man I keep getting this error
    Failed to retrieve data. Status code: 400
    Failed to retrieve data. Status code: 400
    Failed to retrieve data. Status code: 400
    Failed to retrieve data. Status code: 400
    Failed to retrieve data. Status code: 400
    Traceback (most recent call last):
    line 148, in
    print(releases[['id', 'name']])
    ^^^^^^^^
    NameError: name 'releases' is not defined. Did you mean: 'reversed'?

    • @damgetbags
      @damgetbags  Рік тому

      Did you get your API key?
      Your data request to the API is failing for some reason.
      Since you are getting all 400 errors, the variable "releases" from line 142 won't be assigned like it is in the video.

    • @Mk84321
      @Mk84321 Рік тому

      @@damgetbags I did

    • @Mk84321
      @Mk84321 Рік тому

      Also wow I'm In shock you replied... I'm a huge fan of your content!

    • @damgetbags
      @damgetbags  Рік тому

      ABDULLAH KHAN
      glad to have you as a finance family member - lfg!