revpush/api-sdk-bundle
Composer 安装命令:
composer require revpush/api-sdk-bundle
包简介
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
README 文档
README
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"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:
<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-AUTH-TOKEN', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-AUTH-TOKEN', 'Bearer');
$apiInstance = new Swagger\Client\Api\AbTestApi(
// 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(),
$config
);
$conditions_sources = 56; // int |
$conditions_partners = 56; // int |
$conditions_sites = 56; // int |
$conditions_site_pages = 56; // int |
$conditions_user_teams = 56; // int |
$conditions_users = 56; // int |
$conditions_adgroups = 56; // int |
$conditions_devices = 56; // int |
$conditions_countries = 56; // int |
$conditions_themes = 56; // int |
$status = True; // bool |
try {
$result = $apiInstance->getAbTestCollection($conditions_sources, $conditions_partners, $conditions_sites, $conditions_site_pages, $conditions_user_teams, $conditions_users, $conditions_adgroups, $conditions_devices, $conditions_countries, $conditions_themes, $status);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AbTestApi->getAbTestCollection: ', $e->getMessage(), PHP_EOL;
}
API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AbTestApi | getAbTestCollection | GET /api/ab_tests | Retrieves the collection of AbTest resources. |
| AbTestApi | getAbTestItem | GET /api/ab_tests/{id} | Retrieves a AbTest resource. |
| AbTestThemeApi | getAbTestThemeCollection | GET /api/ab_test_themes | Retrieves the collection of AbTestTheme resources. |
| AbTestThemeApi | getAbTestThemeItem | GET /api/ab_test_themes/{id} | Retrieves a AbTestTheme resource. |
| AccessTokenApi | getAccessTokenCollection | GET /api/access_tokens | Retrieves the collection of AccessToken resources. |
| AccessTokenApi | getAccessTokenItem | GET /api/access_tokens/{id} | Retrieves a AccessToken resource. |
| AccessTokenSettingApi | getAccessTokenSettingCollection | GET /api/access_token_settings | Retrieves the collection of AccessTokenSetting resources. |
| AccessTokenSettingApi | getAccessTokenSettingItem | GET /api/access_token_settings/{id} | Retrieves a AccessTokenSetting resource. |
| AccountApi | getAccountCollection | GET /api/accounts | Retrieves the collection of Account resources. |
| AccountApi | getAccountItem | GET /api/accounts/{id} | Retrieves a Account resource. |
| AccountSettingApi | getAccountSettingCollection | GET /api/account_settings | Retrieves the collection of AccountSetting resources. |
| AccountSettingApi | getAccountSettingItem | GET /api/account_settings/{id} | Retrieves a AccountSetting resource. |
| AdGroupCountryDailyStatisticApi | getAdGroupCountryDailyStatisticCollection | GET /api/ad_group_country_daily_statistics | Retrieves the collection of AdGroupCountryDailyStatistic resources. |
| AdGroupDailyStatisticApi | getAdGroupDailyStatisticCollection | GET /api/ad_group_daily_statistics | Retrieves the collection of AdGroupDailyStatistic resources. |
| AdGroupHourlyStatisticApi | getAdGroupHourlyStatisticCollection | GET /api/ad_group_hourly_statistics | Retrieves the collection of AdGroupHourlyStatistic resources. |
| AdgroupApi | getAdgroupCollection | GET /api/adgroups | Retrieves the collection of Adgroup resources. |
| AdgroupApi | getAdgroupItem | GET /api/adgroups/{id} | Retrieves a Adgroup resource. |
| ConditionApi | getConditionCollection | GET /api/conditions | Retrieves the collection of Condition resources. |
| ConditionApi | getConditionItem | GET /api/conditions/{id} | Retrieves a Condition resource. |
| ConditionCategoryApi | getConditionCategoryCollection | GET /api/condition_categories | Retrieves the collection of ConditionCategory resources. |
| ConditionCategoryApi | getConditionCategoryItem | GET /api/condition_categories/{id} | Retrieves a ConditionCategory resource. |
| CountryApi | getCountryCollection | GET /api/countries | Retrieves the collection of Country resources. |
| CountryApi | getCountryItem | GET /api/countries/{id} | Retrieves a Country resource. |
| CurrencyApi | getCurrencyCollection | GET /api/currencies | Retrieves the collection of Currency resources. |
| CurrencyApi | getCurrencyItem | GET /api/currencies/{id} | Retrieves a Currency resource. |
| CustomJsScriptApi | getCustomJsScriptCollection | GET /api/custom_js_scripts | Retrieves the collection of CustomJsScript resources. |
| CustomJsScriptApi | getCustomJsScriptItem | GET /api/custom_js_scripts/{id} | Retrieves a CustomJsScript resource. |
| DeviceApi | getDeviceCollection | GET /api/devices | Retrieves the collection of Device resources. |
| DeviceApi | getDeviceItem | GET /api/devices/{id} | Retrieves a Device resource. |
| FeedZoneApi | getFeedZoneCollection | GET /api/feed_zones | Retrieves the collection of FeedZone resources. |
| FeedZoneApi | getFeedZoneItem | GET /api/feed_zones/{id} | Retrieves a FeedZone resource. |
| FeedZoneSettingApi | getFeedZoneSettingCollection | GET /api/feed_zone_settings | Retrieves the collection of FeedZoneSetting resources. |
| FeedZoneSettingApi | getFeedZoneSettingItem | GET /api/feed_zone_settings/{id} | Retrieves a FeedZoneSetting resource. |
| GeneratedArticleApi | getGeneratedArticleCollection | GET /api/generated_articles | Retrieves the collection of GeneratedArticle resources. |
| GeneratedArticleApi | getGeneratedArticleItem | GET /api/generated_articles/{id} | Retrieves a GeneratedArticle resource. |
| HotspotApi | getHotspotCollection | GET /api/hotspots | Retrieves the collection of Hotspot resources. |
| HotspotApi | getHotspotItem | GET /api/hotspots/{id} | Retrieves a Hotspot resource. |
| KeywordApi | getKeywordCollection | GET /api/keywords | Retrieves the collection of Keyword resources. |
| KeywordApi | getKeywordItem | GET /api/keywords/{id} | Retrieves a Keyword resource. |
| LanguageApi | getLanguageCollection | GET /api/languages | Retrieves the collection of Language resources. |
| LanguageApi | getLanguageItem | GET /api/languages/{id} | Retrieves a Language resource. |
| LinkFormatApi | getLinkFormatCollection | GET /api/link_formats | Retrieves the collection of LinkFormat resources. |
| LinkFormatApi | getLinkFormatItem | GET /api/link_formats/{id} | Retrieves a LinkFormat resource. |
| LinkFormatParamApi | getLinkFormatParamCollection | GET /api/link_format_params | Retrieves the collection of LinkFormatParam resources. |
| LinkFormatParamApi | getLinkFormatParamItem | GET /api/link_format_params/{id} | Retrieves a LinkFormatParam resource. |
| LinkFormatParamSiteApi | getLinkFormatParamSiteCollection | GET /api/link_format_param_sites | Retrieves the collection of LinkFormatParamSite resources. |
| LinkFormatParamSiteApi | getLinkFormatParamSiteItem | GET /api/link_format_param_sites/{id} | Retrieves a LinkFormatParamSite resource. |
| LinkFormatParamValueApi | getLinkFormatParamValueCollection | GET /api/link_format_param_values | Retrieves the collection of LinkFormatParamValue resources. |
| LinkFormatParamValueApi | getLinkFormatParamValueItem | GET /api/link_format_param_values/{id} | Retrieves a LinkFormatParamValue resource. |
| LinkFormatTypeApi | getLinkFormatTypeCollection | GET /api/link_format_types | Retrieves the collection of LinkFormatType resources. |
| LinkFormatTypeApi | getLinkFormatTypeItem | GET /api/link_format_types/{id} | Retrieves a LinkFormatType resource. |
| MarketApi | getMarketCollection | GET /api/markets | Retrieves the collection of Market resources. |
| MarketApi | getMarketItem | GET /api/markets/{id} | Retrieves a Market resource. |
| PartnerApi | getPartnerCollection | GET /api/partners | Retrieves the collection of Partner resources. |
| PartnerApi | getPartnerItem | GET /api/partners/{id} | Retrieves a Partner resource. |
| PartnerChannelApi | getPartnerChannelCollection | GET /api/partner_channels | Retrieves the collection of PartnerChannel resources. |
| PartnerChannelApi | getPartnerChannelItem | GET /api/partner_channels/{id} | Retrieves a PartnerChannel resource. |
| PartnerChannelParamApi | getPartnerChannelParamCollection | GET /api/partner_channel_params | Retrieves the collection of PartnerChannelParam resources. |
| PartnerChannelParamApi | getPartnerChannelParamItem | GET /api/partner_channel_params/{id} | Retrieves a PartnerChannelParam resource. |
| PartnerMarketApi | getPartnerMarketCollection | GET /api/partner_markets | Retrieves the collection of PartnerMarket resources. |
| PartnerMarketApi | getPartnerMarketItem | GET /api/partner_markets/{id} | Retrieves a PartnerMarket resource. |
| PartnerTypeApi | getPartnerTypeCollection | GET /api/partner_types | Retrieves the collection of PartnerType resources. |
| PartnerTypeApi | getPartnerTypeItem | GET /api/partner_types/{id} | Retrieves a PartnerType resource. |
| RawCbsEntryApi | getRawCbsEntryCollection | GET /api/raw_cbs_entries | Retrieves the collection of RawCbsEntry resources. |
| RawExplorAdsEntryApi | getRawExplorAdsEntryCollection | GET /api/raw_explor_ads_entries | Retrieves the collection of RawExplorAdsEntry resources. |
| RawExplorAdsHourlyEntryApi | getRawExplorAdsHourlyEntryCollection | GET /api/raw_explor_ads_hourly_entries | Retrieves the collection of RawExplorAdsHourlyEntry resources. |
| RawRiseEntryApi | getRawRiseEntryCollection | GET /api/raw_rise_entries | Retrieves the collection of RawRiseEntry resources. |
| RawRiseHourlyEntryApi | getRawRiseHourlyEntryCollection | GET /api/raw_rise_hourly_entries | Retrieves the collection of RawRiseHourlyEntry resources. |
| RawRiseYahooEntryApi | getRawRiseYahooEntryCollection | GET /api/raw_rise_yahoo_entries | Retrieves the collection of RawRiseYahooEntry resources. |
| RawSpigotEntryApi | getRawSpigotEntryCollection | GET /api/raw_spigot_entries | Retrieves the collection of RawSpigotEntry resources. |
| RawViacomCbsAdsenseEntryApi | getRawViacomCbsAdsenseEntryCollection | GET /api/raw_viacom_cbs_adsense_entries | Retrieves the collection of RawViacomCbsAdsenseEntry resources. |
| RawViacomCbsAdsenseHourlyEntryApi | getRawViacomCbsAdsenseHourlyEntryCollection | GET /api/raw_viacom_cbs_adsense_hourly_entries | Retrieves the collection of RawViacomCbsAdsenseHourlyEntry resources. |
| RawViacomCbsBingEntryApi | getRawViacomCbsBingEntryCollection | GET /api/raw_viacom_cbs_bing_entries | Retrieves the collection of RawViacomCbsBingEntry resources. |
| RawViacomCbsYahooEntryApi | getRawViacomCbsYahooEntryCollection | GET /api/raw_viacom_cbs_yahoo_entries | Retrieves the collection of RawViacomCbsYahooEntry resources. |
| RawViacomCbsYahooHourlyEntryApi | getRawViacomCbsYahooHourlyEntryCollection | GET /api/raw_viacom_cbs_yahoo_hourly_entries | Retrieves the collection of RawViacomCbsYahooHourlyEntry resources. |
| RawYahooEntryApi | getRawYahooEntryCollection | GET /api/raw_yahoo_entries | Retrieves the collection of RawYahooEntry resources. |
| RawYahooHourlyEntryApi | getRawYahooHourlyEntryCollection | GET /api/raw_yahoo_hourly_entries | Retrieves the collection of RawYahooHourlyEntry resources. |
| RawYahooSourceEntryApi | getRawYahooSourceEntryCollection | GET /api/raw_yahoo_source_entries | Retrieves the collection of RawYahooSourceEntry resources. |
| ReferrerReplacementChanceApi | getReferrerReplacementChanceCollection | GET /api/referrer_replacement_chances | Retrieves the collection of ReferrerReplacementChance resources. |
| ReferrerReplacementChanceApi | getReferrerReplacementChanceItem | GET /api/referrer_replacement_chances/{id} | Retrieves a ReferrerReplacementChance resource. |
| ReferrerReplacementProviderApi | getReferrerReplacementProviderCollection | GET /api/referrer_replacement_providers | Retrieves the collection of ReferrerReplacementProvider resources. |
| ReferrerReplacementProviderApi | getReferrerReplacementProviderItem | GET /api/referrer_replacement_providers/{id} | Retrieves a ReferrerReplacementProvider resource. |
| ReferrerReplacementSiteApi | getReferrerReplacementSiteCollection | GET /api/referrer_replacement_sites | Retrieves the collection of ReferrerReplacementSite resources. |
| ReferrerReplacementSiteApi | getReferrerReplacementSiteItem | GET /api/referrer_replacement_sites/{id} | Retrieves a ReferrerReplacementSite resource. |
| RequestCheckApi | apiRequestChecksPost | POST /api/request_checks | Creates a RequestCheck resource. |
| ServerApi | getServerCollection | GET /api/servers | Retrieves the collection of Server resources. |
| ServerApi | getServerItem | GET /api/servers/{id} | Retrieves a Server resource. |
| SiteApi | getSiteCollection | GET /api/sites | Retrieves the collection of Site resources. |
| SiteApi | getSiteItem | GET /api/sites/{id} | Retrieves a Site resource. |
| SiteArticleApi | getSiteArticleCollection | GET /api/site_articles | Retrieves the collection of SiteArticle resources. |
| SiteArticleApi | getSiteArticleItem | GET /api/site_articles/{id} | Retrieves a SiteArticle resource. |
| SiteArticleCategoryApi | getSiteArticleCategoryCollection | GET /api/site_article_categories | Retrieves the collection of SiteArticleCategory resources. |
| SiteArticleCategoryApi | getSiteArticleCategoryItem | GET /api/site_article_categories/{id} | Retrieves a SiteArticleCategory resource. |
| SiteArticleImageApi | getSiteArticleImageCollection | GET /api/site_article_images | Retrieves the collection of SiteArticleImage resources. |
| SiteArticleImageApi | getSiteArticleImageItem | GET /api/site_article_images/{id} | Retrieves a SiteArticleImage resource. |
| SiteArticleStatusApi | getSiteArticleStatusCollection | GET /api/site_article_statuses | Retrieves the collection of SiteArticleStatus resources. |
| SiteArticleStatusApi | getSiteArticleStatusItem | GET /api/site_article_statuses/{id} | Retrieves a SiteArticleStatus resource. |
| SiteArticleTemplateApi | getSiteArticleTemplateCollection | GET /api/site_article_templates | Retrieves the collection of SiteArticleTemplate resources. |
| SiteArticleTemplateApi | getSiteArticleTemplateItem | GET /api/site_article_templates/{id} | Retrieves a SiteArticleTemplate resource. |
| SiteGroupApi | getSiteGroupCollection | GET /api/site_groups | Retrieves the collection of SiteGroup resources. |
| SiteGroupApi | getSiteGroupItem | GET /api/site_groups/{id} | Retrieves a SiteGroup resource. |
| SitePageApi | getSitePageCollection | GET /api/site_pages | Retrieves the collection of SitePage resources. |
| SitePageApi | getSitePageItem | GET /api/site_pages/{id} | Retrieves a SitePage resource. |
| StatImportAdgroupApi | getStatImportAdgroupCollection | GET /api/stat_import_adgroups | Retrieves the collection of StatImportAdgroup resources. |
| ThemeApi | getThemeCollection | GET /api/themes | Retrieves the collection of Theme resources. |
| ThemeApi | getThemeItem | GET /api/themes/{id} | Retrieves a Theme resource. |
| UserApi | getUserCollection | GET /api/users | Retrieves the collection of User resources. |
| UserApi | getUserItem | GET /api/users/{id} | Retrieves a User resource. |
| UserTeamApi | getUserTeamCollection | GET /api/user_teams | Retrieves the collection of UserTeam resources. |
| UserTeamApi | getUserTeamItem | GET /api/user_teams/{id} | Retrieves a UserTeam resource. |
Models
- AbTestAbTestRead
- AbTestThemeAbTestThemeRead
- AccessTokenAccessTokenRead
- AccessTokenSettingAccessTokenSettingRead
- AccountAccountRead
- AccountSettingAccountSettingRead
- AdGroupCountryDailyStatisticAdGroupReportRead
- AdGroupCountryDailyStatisticJsonldAdGroupReportRead
- AdGroupCountryDailyStatisticJsonldAdGroupReportReadContext
- AdGroupCountryDailyStatisticJsonldAdGroupReportReadContextOneOf
- AdGroupDailyStatisticAdGroupReportRead
- AdGroupDailyStatisticJsonldAdGroupReportRead
- AdGroupHourlyStatisticAdGroupReportRead
- AdGroupHourlyStatisticJsonldAdGroupReportRead
- AdgroupAdgroupRead
- ConditionCategoryConditionCategoryRead
- ConditionConditionRead
- ConstraintViolationJson
- ConstraintViolationJsonViolationsInner
- ConstraintViolationJsonldJsonld
- CountryCountryRead
- CurrencyCurrencyRead
- CustomJsScriptCustomJsScriptRead
- DeviceDeviceRead
- Error
- ErrorJsonld
- FeedZoneFeedZoneRead
- FeedZoneSettingFeedZoneSettingRead
- GeneratedArticleGeneratedArticleRead
- GeneratedArticleJsonldGeneratedArticleRead
- GetAdGroupCountryDailyStatisticCollection200Response
- GetAdGroupCountryDailyStatisticCollection200ResponseSearch
- GetAdGroupCountryDailyStatisticCollection200ResponseSearchMappingInner
- GetAdGroupCountryDailyStatisticCollection200ResponseView
- GetAdGroupDailyStatisticCollection200Response
- GetAdGroupHourlyStatisticCollection200Response
- GetGeneratedArticleCollection200Response
- GetSiteArticleCollection200Response
- HotspotHotspotRead
- KeywordKeywordRead
- LanguageLanguageRead
- LinkFormatLinkFormatRead
- LinkFormatParamLinkFormatParamRead
- LinkFormatParamSiteLinkFormatParamSiteRead
- LinkFormatParamValueLinkFormatParamValueRead
- LinkFormatTypeLinkFormatTypeRead
- MarketMarketRead
- PartnerChannelParamPartnerChannelParamRead
- PartnerChannelPartnerChannelRead
- PartnerMarketPartnerMarketRead
- PartnerPartnerRead
- PartnerTypePartnerTypeRead
- RawCbsEntryRawCbsEntryRead
- RawExplorAdsEntryRawExplorAdsEntryRead
- RawExplorAdsHourlyEntryRawExplorAdsHourlyEntryRead
- RawRiseEntryRawRiseEntryRead
- RawRiseHourlyEntryRawRiseHourlyEntryRead
- RawRiseYahooEntryRawRiseYahooEntryRead
- RawSpigotEntryRawSpigotEntryRead
- RawViacomCbsAdsenseEntryRawViacomCbsAdsenseEntryRead
- RawViacomCbsAdsenseHourlyEntryRawViacomCbsAdsenseHourlyEntryRead
- RawViacomCbsBingEntryRawViacomCbsBingEntryRead
- RawViacomCbsYahooEntryRawViacomCbsYahooEntryRead
- RawViacomCbsYahooHourlyEntryRawViacomCbsYahooHourlyEntryRead
- RawYahooEntryRawYahooEntryRead
- RawYahooHourlyEntryRawYahooHourlyEntryRead
- RawYahooSourceEntryRawYahooSourceEntryRead
- ReferrerReplacementChanceReferrerReplacementChanceRead
- ReferrerReplacementProviderReferrerReplacementProviderRead
- ReferrerReplacementSiteReferrerReplacementSiteRead
- RequestCheck
- RequestCheckChance
- RequestCheckLimit
- RequestCheckRequestCheckArgs
- RequestCheckUserClick
- RequestCheckUserInteraction
- ServerServerRead
- SiteArticleCategorySiteArticleCategoryRead
- SiteArticleImageSiteArticleImageRead
- SiteArticleJsonldSiteArticleRead
- SiteArticleSiteArticleRead
- SiteArticleStatusSiteArticleStatusRead
- SiteArticleTemplateSiteArticleTemplateRead
- SiteGroupSiteGroupRead
- SitePageSitePageRead
- SiteSiteRead
- StatImportAdgroupStatImportAdgroupRead
- ThemeThemeRead
- UserTeamUserTeamRead
- UserUserRead
Authorization
Authentication schemes defined for the API:
apiKey
- Type: API key
- API key parameter name: X-AUTH-TOKEN
- Location: HTTP header
Tests
To run the tests, use:
composer install
vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0.0- Generator version:
7.7.0
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
统计信息
- 总下载量: 2.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-09-05