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.3.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.3-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freder-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 49ffc5ca8c27c4178b57f4bffc3fd87d37262a6eb2eecd82b6da1d899db700f6
MD5 b495b49b429596029b26f9141d7781c6
BLAKE2b-256 662a2c90837c58e6a991515a3c3d36165387293f5b9105d5aa34b8c77386a030

See more details on using hashes here.

File details

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

File metadata

  • Download URL: freder-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2f617d8da3e0bdbc47075e03797c9ede0263f3df76afae88cd5b309aed26e3c
MD5 a44b6a8f1ac8058a58cb3ae5bd0ff63f
BLAKE2b-256 e0bd7815b8a6b6882880cae0700fc4e5c2af4a35d618f6fae7fe9ddf7cf0792c

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