covox / avito_api2
dev-master
2019-09-16 16:36 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
This package is auto-updated.
Last update: 2024-09-13 13:36:29 UTC
README
Общая информация Описание API произведено в формате Swagger 3.0. Вы можете использовать данный файл для ознакомления с методами API, а также для генерации базового кода для работы с API на удобном для вас языке программирования с помощью утилиты Swagger Codegen или online сервиса Swagger Editor. Авито API для бизнеса предоставляется согласно Условиям использования. По всем вопросам работы с API необходимо обращаться в Службу Поддержки профессиональных инструментов:
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new Swagger\Client\Api\AccessApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $grant_type = "grant_type_example"; // string | Тип OAuth flow. В данный момент поддерживается только client_credentials $client_id = "client_id_example"; // string | $client_secret = "client_secret_example"; // string | try { $result = $apiInstance->getAccessToken($grant_type, $client_id, $client_secret); print_r($result); } catch (Exception $e) { echo 'Exception when calling AccessApi->getAccessToken: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://api.avito.ru/
Documentation For Models
- AuthError
- AuthErrorError
- AvitoItemAutoteka
- AvitoItemAutotekaImages
- BusinessTripReadiness
- CarImageAutoteka
- Citizenship
- CrashesHistoryAutoteka
- CreateReportResponseBodyAutoteka
- CreateReportResponseDataAutoteka
- Education
- EducationLevel
- EquipmentAutoteka
- EquipmentAutotekaBody
- EquipmentAutotekaBrand
- EquipmentAutotekaColor
- EquipmentAutotekaDrive
- EquipmentAutotekaEquipment
- EquipmentAutotekaHorsepower
- EquipmentAutotekaModel
- EquipmentAutotekaModification
- EquipmentAutotekaTransmission
- EquipmentAutotekaVehicle
- EquipmentAutotekaVolume
- EquipmentAutotekaYear
- ErrorAutoload
- ErrorAutoloadError
- ErrorItemsVas
- EventsAutoteka
- EventsAutotekaAvitoOnSale
- EventsAutotekaAvitoOnSaleAdditionalInfo
- EventsAutotekaBodyRepair
- EventsAutotekaCrashes
- EventsAutotekaDealerDataAvailable
- EventsAutotekaLastMileageRecord
- EventsAutotekaOwners
- EventsAutotekaPledge
- EventsAutotekaPublicPerson
- EventsOthersHistoryAutoteka
- Experience
- FieldError
- Gender
- GetActivePackageResponseBodyAutoteka
- GetActivePackageResponseDataAutoteka
- GetPreviewResponseBodyAutoteka
- GetPreviewResponseDataAutoteka
- GetReportResponseBodyAutoteka
- GetReportResponseDataAutoteka
- HeadAutoteka
- InfoVas
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2003
- InlineResponse2003Errors
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse2007
- InlineResponse200Result
- ItemIdsRequestBody
- ItemInfoAutoload
- ItemInfoAutoloadFeeInfo
- ItemInfoAvito
- ItemInfoErrorAutoload
- ItemsInfoAvito
- Language
- LanguageLanguage
- LanguageLevel
- Location
- MetaAutoload
- NotFoundError
- NotFoundErrorError
- OtherAutoteka
- OwnersHistoryAutoteka
- PackageAutoteka
- PackageIdRequestBody
- PackageInfoVas
- PackagePriceInfoVas
- ParamPriceItemRealty
- ParamPricesRealty
- Photo
- PostCalendarData
- PostCalendarDataBookings
- PreviewAutoteka
- PreviewDataAutoteka
- PreviewIdOnlyAutoteka
- PriceInfoVas
- PurchasingError
- PurchasingErrorError
- RealtyBooking
- RealtyBookingContact
- RealtyBookingSafeDeposit
- RelocationReadiness
- ReportAutoload
- ReportAutoloadAds
- ReportAutoloadFeePackages
- ReportAutoloadMessages
- ReportAutoloadStatuses
- ReportAutoloadStatusesAvito
- ReportAutoloadStatusesGeneral
- ReportAutoloadStatusesProcessing
- ReportAutoloadVas
- ReportAutoteka
- ReportCollectionAutoload
- ReportCollectionAutoloadInner
- ReportCollectionAutoloadInnerStat
- ReportDataAutoteka
- ReportWithoutDataAutoteka
- RequestPreviewByRegNumberAutoteka
- RequestPreviewByVinAutoteka
- RequestPreviewResponseBodyAutoteka
- RequestPreviewResponseDataAutoteka
- RequestReportByPreviewIdAutoteka
- RestrictionsAutoteka
- RestrictionsAutotekaPledge
- RestrictionsAutotekaPledgeData
- RestrictionsAutotekaPledgePledgeAdditionalData
- RestrictionsAutotekaRegistration
- RestrictionsAutotekaRegistrationAdditionalInfo
- RestrictionsAutotekaStealing
- Resume
- ResumeContact
- ResumeContacts
- ResumeSearchMeta
- ServiceError
- ServiceErrorError
- ServiceInfoAutoteka
- ServiceInfoAutotekaReportCompleteStatus
- ServiceInfoAutotekaReportCompleteStatusUnavailableSources
- ServiceUnavailableError
- ServiceUnavailableErrorError
- ShortStatInfo
- SimplifiedResume
- Specialization
- UpdateReportResponseBodyAutoteka
- UpdateReportResponseDataAutoteka
- ValidatingError
- ValidatingErrorError
- VasApplyAvito
- VasIdRequestBody
- VasPackageApplyAvito
- WorkSchedule
- _
Documentation For Authorization
All endpoints do not require authorization.