nccpa-checker

command module
v0.0.0-...-fc4db7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: Unlicense Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

NCCPA Checker

Install

go install github.com/pma9/nccpa-checker

Configuration

You need to first setup a Twilio account and add funds there. Twilio is the service that will send you text messages.

Create a .env file in the same directory where nccpa-checker is

TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_FROM_NUMBER=
TWILIO_TO_NUMBER=

Now you need to get a token that will be used for your requests. This token can be found on the NCCPA website. Send a request and check the network tab of the developer tools. The request body of the "portal.nccpa.net" request will have a token. Copy this token and save it as token.txt in the same directory as the nccpa-checker.

Usage

By ID

nccpa-checker --id <nccpa id>

By Params

nccpa-checker --fn <First Name> --ln <Last Name>

Defaults:

  • State : California (CA)
  • Country : United States (USA)

nccpa-checker --fn <First Name> --ln <Last Name> --sc <State Code> --cc <Country Code>

You can also specify a different token file

nccpa-checker ... --tf <token file path>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址