Skip to main content

THIS IS AN UNOFFICIAL LIBRARY

# fcc_complaints FCC Complaints is a library to wrap the FCC’s Consumer Complaints Data. The authors of this library have no affiliation with the FCC or the US government.

Individual informal consumer complaint data detailing complaints filed with the Consumer Help Center beginning October 31, 2014. This data represents information selected by the consumer. The FCC does not verify the facts alleged in these complaints.[1](https://opendata.fcc.gov/Consumer/CGB-Consumer-Complaints-Data/3xyp-aqkj)

This api and library aim to make it easier to look up complaints made against numbers to the FCC.

The number of requests you can make on the data is limited unless you sign up for an API token.

# Installation

` pip install fcc_complaints `

# Configuration Setup a file in either ~/.fcc_complaints or /etc/default/fcc_complaints with your FCC API settings. Sign up at the FCC website for a token: https://opendata.fcc.gov/profile/app_tokens

The configuration file should look something like this: ` [auth] app_token = {{YOUR APP TOKEN}} username = {{YOUR USERNAME}} `

This is not required but allows you to not have to pass it in every time you initialize the api. You can also provide the API tokens when you initialize the API. If no tokens are provided you can still use the API but you will be limited in how many requests you can make by the FCC.

# Usage

` from fcc_complaints import FccApi api = FccApi() r = api.query(caller_id_number='0000000000') `

The library will handling formatting of dates, phone numbers, etc. See the api documentation for more information on options.

Metadata

Release files for fcc_complaints 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fcc_complaints 0.1.2
File Size Uploaded Provenance Actions
fcc_complaints-0.1.2.tar.gz 3.2 kB Without provenance Details for fcc_complaints-0.1.2.tar.gz

Release files / fcc_complaints-0.1.2.tar.gz

Download URL fcc_complaints-0.1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
64f118d5ab475cd840c9bd3cd4b16c2f49299bc3a9d2ae11ae35f7d24470d5b9
BLAKE2b-256 checksum
How to use checksums
ef991af242c25aa41374523fc0de25c05e0dd5bc96c5b2c7d5558629f14c810b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for fcc_complaints 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page