Skip to main content

FRED API Python package

Project description

FRED API Usage facilitator

main workflow GitHub licence GitHub downloads documentation PyPi download PyPi version python version

FRED API (https://fred.stlouisfed.org/docs/api/fred/)

Features

  1. Installation
pip install freder

Requires Python 3.9+

  1. Usage

1-1) Authentication: using dotenv

  • Created a file named ".env"
  • Add "FRED_APIKEY='YOURAPIKEY'" in the file

1-2) Authentication: using "set_apikey"

import freder

freder.set_apikey('yourapikey')
  1. apicalls
import freder

result = freder.get_category(0)
print(result)

All API endpoints are included in this package, Please refer to https://fred.stlouisfed.org/docs/api/fred/ For more API endpoints

Also, Please pay attention to docstrings of each fred functions in this package. I included fred's explanation of each input variable to facilitate the process.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freder-0.0.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freder-0.0.2-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file freder-0.0.2.tar.gz.

File metadata

  • Download URL: freder-0.0.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for freder-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8401ef5aaf75a8d41e720c5e6b81af85c81aace00028bf867164e83d072da651
MD5 08e6281f3028a46131f25d9c8662f404
BLAKE2b-256 f9a13dda03ac1693cea872f93d2470a1817996e310f828d39b0ea63d316cd56f

See more details on using hashes here.

File details

Details for the file freder-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: freder-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for freder-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 900ba96aba2acd63f94ec59d7f07cf0d3dff9058b5f8ea9a4b7990390e2eb570
MD5 659a1a03b52daf8445561d9cb66ca4bc
BLAKE2b-256 b0f2a6c8f64f331383321f33440b133c4d424652efe7571eec7bed9ec04f670b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page