Socket
Socket
Sign inDemoInstall

pyprycd

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pyprycd

An unofficial Python Client for the PRYCD API for Real Estate Analysis.


Maintainers
1

Readme

PyPRYCD

This module provides a simple unofficial wrapper for working with the PRYCD APIs for real estate analysis.

Getting Started

To install, simply execute the following command in the command line:

pip install pyprycd

Obtaining API Keys

Once you have installed the module, you can now make API calls, however you will have to purchase API keys from PRYCD at (www.prycd.com) Pyrcd has two separate API keys for the pricing and comps API which must be purchased separately. When you initialize the constructor, you can set either of them, or set the keys later using one of the setter methods.

Methods

  • get_comps(): Returns PRYCD comparables in a requested region.
  • get_counties_in_state(<state>): Returns a list of counties in a state. Accepts either a state name or code.
  • get_fips_code(<county>): Returns the FIPS code for a county. Note that you must spell out the full county name and state. IE: Maricopa County AZ
  • get_pricing(): Returns PRYCD estimated values for a requested property. Supports all options for the PRYCD API.
  • set_pricing_api_key(<api_key>): Sets or resets the pricing API key.
  • set_comp_api_key(<api_key>) Sets or resets the comp API key. Supports all options for the PRYCD API.

Example Usage

from pyprycd import PyPrycd

PRICING_API_KEY = '1234'
COMPS_API_KEY = '5678'

# Initialize the PyPrycd Object
pyrcd = PyPrycd(pricing_api_key=PRICING_API_KEY, comp_api_key=COMPS_API_KEY)

# Get a FIPS code
fips = PyPrycd.get_fips_code('Autauga County AL')

# Get pricing data about a property
pricing_data = pyrcd.get_pricing()

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc