Skip to main content

FCC Complaint Data API Wrapper

Project description

# 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.

Project details


Download files

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

Files for fcc_complaints, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size fcc_complaints-0.1.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page