Download the PHP package swappycom/php-client without Composer
On this page you can find all versions of the php package swappycom/php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-client
SwaggerClient-php
This is Swappy's REST API. See below for all available endpoints. This is an alpha version and might still be subject to change
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 0.1.1
- Package version: 0.1.0
- Build date: 2016-12-01T11:45:54.427-05:00
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Tests
To run the unit tests:
Getting Started
Please follow the installation procedure and then run the following:
Documentation for API Endpoints
All URIs are relative to https://api.swappy.com/
Class | Method | HTTP request | Description |
---|---|---|---|
BulkApi | createBulkJob | POST /v1/bulkjobs | |
BulkApi | getBulkJob | GET /v1/bulkjobs/{id} | |
BulkApi | getBulkJobResult | GET /v1/bulkjobs/{id}/results | |
DataApi | getCategories | GET /v1/categories | |
DataApi | getCategory | GET /v1/categories/{id} | |
DataApi | getDurations | GET /v1/durations | |
DataApi | getOptions | GET /v1/options | |
DataApi | getShippingMethods | GET /v1/shippingmethods | |
MiscApi | getSoftwareVersion | GET /v1/version | |
OauthApi | getMe | GET /v1/me | |
OauthApi | getMyAddresses | GET /v1/me/addresses | |
OauthApi | oauth2AuthorizeGet | GET /oauth2/authorize | |
OauthApi | oauth2TokenPost | POST /oauth2/token | |
ProductsApi | createProduct | POST /v1/products | |
ProductsApi | endProduct | DELETE /v1/products/{id} | |
ProductsApi | getProduct | GET /v1/products/{id} | |
ProductsApi | updateProduct | PATCH /v1/products/{id} | |
ProductsApi | uploadPicture | POST /v1/pictures |
Documentation For Models
- Address
- BulkJob
- BulkJobResult
- Category
- Delivery
- DeliveryType
- Duration
- Error
- FieldError
- InlineResponse200
- InlineResponse2001
- Live
- Member
- Option
- Payment
- Product
- ProductBulkResponse
- ProductEstimate
- ProductImage
- ProductOffer
- ProductTaxes
- ShippingMethod
- ShortAddress
- ShortMember
- ShortProduct
- ShortProductOffer
- TempImage
- ValidationError
Documentation For Authorization
oauth
- Type: OAuth
- Flow: implicit
- Authorization URL: https://api.swappy.com/oauth2/authorize
- Scopes:
- buy: Manage your purchases
- sell: Create and manage your products
- email: View you email address
- addresses: Manage your postal adresses
Author
All versions of php-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-curl Version *
ext-json Version *
ext-mbstring Version *
The package swappycom/php-client contains the following files
Loading the files please wait ....