Skip to content

"AnT1nG" Public feedback discussions for: GitHub Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more! A python API client for the United States Federal Register

License

Notifications You must be signed in to change notification settings

ReyBan82/us-federal-register-python-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Federal Register Python API Client

Table of Contents

Overview

This library is used to grab federal documents from the United States Federal Register. Additionally, it will help simplify the process of building requests for the different fields that can be returned for specific documents.

Setup

To install the library, run the following command from the terminal.

pip install federal-register

To upgrade the library, run the following command from the terminal.

pip install --upgrade federal-register

Usage

Here is a simple example of using the federal_register library to grab a document using the document number.

from pprint import pprint
from federal_register.client import FederalRegister

# Initialize the client.
federal_register_client = FederalRegister()

# Grab a specific document.
federal_document = federal_register_client.document_by_id(
    document_id='2020-17469',
    fields='all'
)

# Print it out.
pprint(federal_document)

Support These Projects

Patreon: Help support this project and future projects by donating to my Patreon Page . I'm always looking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me to pay monthly fees.

YouTube: If you'd like to watch more of my content, feel free to visit my YouTube channel Sigma Coding.

About

"AnT1nG" Public feedback discussions for: GitHub Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more! A python API client for the United States Federal Register

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%