Download the PHP package amattu2/vinwiki-wrapper without Composer

On this page you can find all versions of the php package amattu2/vinwiki-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 vinwiki-wrapper

Introduction

This is an unofficial and dependency-free VINwiki.com API wrapper written PHP. It offers a simple interface for interacting with the VINwiki API. Among other things, it allows you to:

Usage

Installation

Via Composer

Then, require Composer's autoloader:

Instantiate the class:

Functions

People

These functions relate to person interactions.

getPersonProfile(string $uuid = "") : ?VINwiki\Models\Person Returns a VINwiki user profile. If no user is specified, the current user's profile is returned.
updatePersonProfile(string $uuid, VINwiki\Models\Person $person): ?VINwiki\Models\Person Updates the current user's profile. Returns the updated profile on success. The only required field is "email". See [Models\Person](src/models/Person.php) for more fields.
getPersonNotifications() : ?array Get the current user's notifications.
getPersonFeed(string $uuid = "", bool $filterFollowing = true): ?Models\PersonFeed Get a user's post feed. If no `$uuid` is specified, the current user's feed is returned. If `$filterFollowing` is true, only the posts for vehicles/people that the specified user is following will be returned.
getPersonPosts(string $uuid = ""): ?VINwiki\Models\PersonPosts Get a user's posts. If no user is specified, the current user's posts are returned.
getRecentVins(): ?VINwiki\Models\RecentVins Returns a list of vehicles the user has recently posted on or interacted with. Does not include vehicles that the user has only viewed.

Vehicles

These functions handle any vehicle-related interactions.

plateLookup(string $plate, string $country, string $state): ?VINwiki\Models\PlateLookup Returns a vehicle decoded by the license plate. Currently supports US/UK plates.
getFeed(string $vin): ?VINwiki\Models\VehicleFeed Get a vehicle's post feed (i.e. when you visit a vehicle's page on VINwiki.com)
getVehicle(string $vin): ?VINwiki\Models\Vehicle Get a vehicle's information by VIN.
vehicleSearch(string $query): ?VINwiki\Models\VehicleSearch Perform a free-text search for vehicles by Year, Make, Model, or VIN.
updateVehicle(string $vin, int $year, string $make, string $model, string $trim = ""): bool Update a vehicle's Year, Make, Model, and Trim by VIN. Returns true if successful.
createPost(string $vin, VINwiki\Models\VehiclePost $post): ?VINwiki\Models\FeedPost Create a new post on a vehicle. Requires a VIN and a VehiclePost object. Returns the new post on success. See [Models\VehiclePost](src/models/VehiclePost.php) for more information.
deletePost(string $uuid) : bool Delete a post by UUID. Returns true if successful. Requires the user to be the author of the post.

Requirements


All versions of vinwiki-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
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 amattu2/vinwiki-wrapper contains the following files

Loading the files please wait ....