Download the PHP package notfoundsam/yahoo-auction without Composer

On this page you can find all versions of the php package notfoundsam/yahoo-auction. 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 yahoo-auction

Yahoo Auction Http library

Description

This library will help you to work with Yahoo auction. It makes requests to Yahoo auction like a normal browser. To use this library you must specify your username and password from Yahoo to login. In order not to make a login every time, after the first login, save your cookies so that the following requests will be in the same session. You can view your won lots and bidding lots. To get information about the lot or bid on the lot, you will need an application key.

Requirements

Installation

Examples

Specify your credentials and create a new instance of Browser object.

If you don't have cookies yet try to login into Yahoo. It throws LoginException or CaptchaException if something wrong.

If you already have cookies try to check it.

Use the next methods to get information about your auctions or bid on the lot.

In the end save your browser cookies to use it next time.

Debug

Since v1.1.0 you can use the debugging mode to test your application locally. Export YAHOO_AUC_ENV to your environment. Set it to production to use on production or other to use the debugging mode.

You can also enable or disable the debugging mode with the following method.
Pass the second argument with the path to the folder with your test files.

How to use the debugging mode

Replace test_user with something else to throw LoginException. It means the login failed.

Pass the following id n000000000 to throw PageNotfoundException. It means the auction not found.

Get an array of fake data from the first bidding page.

Get an array of fake IDs from the first won page.

Bid on the following lot e000000000 to throw AuctionEndedException. This auction has already ended.
Bid on the following lot x000000000 with price under 220 to throw BrowserException. It means your price is lower than the current price.
Bid on the following lot x000000000 with price between 220 and 999 to throw RebidException. It means the price of the lot has rose, and the bid failed.
Bid on the following lot x000000000 with price more than 999 for a successful bid.

About v1.3.x

Features

Updates

Fixes

Notes

Migration from v1.2.x


All versions of yahoo-auction with dependencies

PHP Build Version
Package Version
Requires ext-simplexml Version *
php Version >=5.6.0
kub-at/php-simple-html-dom-parser Version ^1.9
guzzlehttp/guzzle Version ^6.0 || ^7.0
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 notfoundsam/yahoo-auction contains the following files

Loading the files please wait ....