Download the PHP package primitivesocial/nestio-api-wrapper without Composer

On this page you can find all versions of the php package primitivesocial/nestio-api-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nestio-api-wrapper

Nestio API Package

Installation

composer require primitivesocial/nestio-api-wrapper

php artisan vendor:publish to publish the config

Configuration

Add NESTIO_API_KEY= to your .env with your Nestio API key.

Methods

Listings

To use the Listings object, include use PrimitiveSocial\NestioApiWrapper\Listings; in your file.

Get All Listings

Nestio API Link: https://developers.nestio.com/api/v2/listings.html#listings-search

Params

These are called as chainable functions off of your clients. Example:

Here is the list:

Boolean parameters can be called without any parameters; the package will assume that, if you are calling it, you want it. You can also specify false.

byId

Nestio API Documentation here: https://developers.nestio.com/api/v2/listings.html#single-listing

This is for specific listings you would want to see. All of the above parameters can be called as well.

residentialRentals

This function acts as the all function, getting all residential rentals.

residentialSales

This function acts as the all function, getting all residential sales

commercialRentals

This function acts as the all function, getting all commercial rentals

commercialSales

This function acts as the all function, getting all commercial sales

Agents

To use the Agents object, include use PrimitiveSocial\NestioApiWrapper\Agents; in your file.

Get All Agent

Nestio API Link: https://developers.nestio.com/api/v2/agents.html#company-agents

There are no parameters assigned to this call.

Get Agent By ID

Nestio API Link: https://developers.nestio.com/api/v2/agents.html#single-agent

There are no parameters assigned to this call.

Buildings

To use the Buildings object, include use PrimitiveSocial\NestioApiWrapper\Buildings; in your file.

Nestio API Link: https://developers.nestio.com/api/v2/buildings.html

There are no parameters for this call.

Neighborhoods

To use the Neighborhoods object, include use PrimitiveSocial\NestioApiWrapper\Neighborhoods; in your file.

Nestio API Link: https://developers.nestio.com/api/v2/neighborhoods.html#neighborhoods

Params

Clients

This call is a POST call to create clients in Nestio.

To use the Clients object, include use PrimitiveSocial\NestioApiWrapper\Clients; in your file.

Nestio API Link :https://developers.nestio.com/api/v2/clients.html

To create a client, you must have:

You can add as many persons as needed. Each person function call creates a new People object in the client.

Params

Client Status

You can also update the client status by using the Nestio Client ID and the status:

Statuses can be set to:

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
  2. Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
  3. Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent. The versioning scheme we use is SemVer.
  4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.

Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

Our Standards

Examples of behavior that contributes to creating a positive environment include:

Examples of unacceptable behavior by participants include:

Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at http://contributor-covenant.org/version/1/4

License

MIT. See LICENSE for more information.


All versions of nestio-api-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
illuminate/config Version ~5.0
illuminate/support Version ~5.0
nesbot/carbon Version ^1.39
guzzlehttp/guzzle Version ^6.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package primitivesocial/nestio-api-wrapper contains the following files

Loading the files please wait ....