Git Product home page Git Product logo

simply-rets-api's Introduction

SimplyRETS API client

  • Build Status master
  • Build Status 1.0

The SimplyRETS API client is a PHP library which provides simplified access to the SimplyRETS API and the data it returns.

This plugin is currently in development with no stable release. Stay tuned for an actual release soon.

Requirements

Documentation

For information on how to utilize the various components provided by this library please read the documentation. Full API documentation can also be found in the docs/api folder.

Installation

Include the bundle

Open a command console, enter your project directory and execute the following command to download the latest stable release:

$ composer require nrm/simply-rets-client "~1.0"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Quick Start

To use the SimplyRETS API client, you will need your username and password.

use NRM\SimplyRetsClient\SimplyRetsClient;
use NRM\SimplyRetsClient\PropertiesParameterSet as Params;

$username = '<username>';
$password = '<password>';

$client = new SimplyRetsClient($username, $password);
$params = Params::create()->addType(Params::TYPE_RENTAL);
$properties = $client->getProperties($params);

Contributing

If there is anything you believe to be missing or an error, please send a pull request with your changes. I'd really appreciate the help! Please make sure to include working unit tests, and that any changes you make have been tested and do not break current features.

Testing

We hope to remain at 100% unit test coverage for the entire lifespan of this project; lofty goal, for sure, but doable. To run the test suite first install the library then run the following command from the root folder of the project:

$ ./vendor/bin/phpunit

Or, if you already have phpunit installed globally this will do:

$ phpunit

Thanks

simply-rets-api's People

Contributors

frankbardon avatar ctrlaltdylan avatar

Stargazers

 avatar Cody Reichert avatar

Watchers

James Cloos avatar Ednalyn C. De Dios avatar Cody Reichert avatar

Forkers

ctrlaltdylan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.