承接 revpush/api-sdk-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

ClassMethodHTTP requestDescription
AbTestApigetAbTestCollectionGET /api/ab_testsRetrieves the collection of AbTest resources.
AbTestApigetAbTestItemGET /api/ab_tests/{id}Retrieves a AbTest resource.
AbTestThemeApigetAbTestThemeCollectionGET /api/ab_test_themesRetrieves the collection of AbTestTheme resources.
AbTestThemeApigetAbTestThemeItemGET /api/ab_test_themes/{id}Retrieves a AbTestTheme resource.
AccessTokenApigetAccessTokenCollectionGET /api/access_tokensRetrieves the collection of AccessToken resources.
AccessTokenApigetAccessTokenItemGET /api/access_tokens/{id}Retrieves a AccessToken resource.
AccessTokenSettingApigetAccessTokenSettingCollectionGET /api/access_token_settingsRetrieves the collection of AccessTokenSetting resources.
AccessTokenSettingApigetAccessTokenSettingItemGET /api/access_token_settings/{id}Retrieves a AccessTokenSetting resource.
AccountApigetAccountCollectionGET /api/accountsRetrieves the collection of Account resources.
AccountApigetAccountItemGET /api/accounts/{id}Retrieves a Account resource.
AccountSettingApigetAccountSettingCollectionGET /api/account_settingsRetrieves the collection of AccountSetting resources.
AccountSettingApigetAccountSettingItemGET /api/account_settings/{id}Retrieves a AccountSetting resource.
AdGroupCountryDailyStatisticApigetAdGroupCountryDailyStatisticCollectionGET /api/ad_group_country_daily_statisticsRetrieves the collection of AdGroupCountryDailyStatistic resources.
AdGroupDailyStatisticApigetAdGroupDailyStatisticCollectionGET /api/ad_group_daily_statisticsRetrieves the collection of AdGroupDailyStatistic resources.
AdGroupHourlyStatisticApigetAdGroupHourlyStatisticCollectionGET /api/ad_group_hourly_statisticsRetrieves the collection of AdGroupHourlyStatistic resources.
AdgroupApigetAdgroupCollectionGET /api/adgroupsRetrieves the collection of Adgroup resources.
AdgroupApigetAdgroupItemGET /api/adgroups/{id}Retrieves a Adgroup resource.
ConditionApigetConditionCollectionGET /api/conditionsRetrieves the collection of Condition resources.
ConditionApigetConditionItemGET /api/conditions/{id}Retrieves a Condition resource.
ConditionCategoryApigetConditionCategoryCollectionGET /api/condition_categoriesRetrieves the collection of ConditionCategory resources.
ConditionCategoryApigetConditionCategoryItemGET /api/condition_categories/{id}Retrieves a ConditionCategory resource.
CountryApigetCountryCollectionGET /api/countriesRetrieves the collection of Country resources.
CountryApigetCountryItemGET /api/countries/{id}Retrieves a Country resource.
CurrencyApigetCurrencyCollectionGET /api/currenciesRetrieves the collection of Currency resources.
CurrencyApigetCurrencyItemGET /api/currencies/{id}Retrieves a Currency resource.
CustomJsScriptApigetCustomJsScriptCollectionGET /api/custom_js_scriptsRetrieves the collection of CustomJsScript resources.
CustomJsScriptApigetCustomJsScriptItemGET /api/custom_js_scripts/{id}Retrieves a CustomJsScript resource.
DeviceApigetDeviceCollectionGET /api/devicesRetrieves the collection of Device resources.
DeviceApigetDeviceItemGET /api/devices/{id}Retrieves a Device resource.
FeedZoneApigetFeedZoneCollectionGET /api/feed_zonesRetrieves the collection of FeedZone resources.
FeedZoneApigetFeedZoneItemGET /api/feed_zones/{id}Retrieves a FeedZone resource.
FeedZoneSettingApigetFeedZoneSettingCollectionGET /api/feed_zone_settingsRetrieves the collection of FeedZoneSetting resources.
FeedZoneSettingApigetFeedZoneSettingItemGET /api/feed_zone_settings/{id}Retrieves a FeedZoneSetting resource.
GeneratedArticleApigetGeneratedArticleCollectionGET /api/generated_articlesRetrieves the collection of GeneratedArticle resources.
GeneratedArticleApigetGeneratedArticleItemGET /api/generated_articles/{id}Retrieves a GeneratedArticle resource.
HotspotApigetHotspotCollectionGET /api/hotspotsRetrieves the collection of Hotspot resources.
HotspotApigetHotspotItemGET /api/hotspots/{id}Retrieves a Hotspot resource.
KeywordApigetKeywordCollectionGET /api/keywordsRetrieves the collection of Keyword resources.
KeywordApigetKeywordItemGET /api/keywords/{id}Retrieves a Keyword resource.
LanguageApigetLanguageCollectionGET /api/languagesRetrieves the collection of Language resources.
LanguageApigetLanguageItemGET /api/languages/{id}Retrieves a Language resource.
LinkFormatApigetLinkFormatCollectionGET /api/link_formatsRetrieves the collection of LinkFormat resources.
LinkFormatApigetLinkFormatItemGET /api/link_formats/{id}Retrieves a LinkFormat resource.
LinkFormatParamApigetLinkFormatParamCollectionGET /api/link_format_paramsRetrieves the collection of LinkFormatParam resources.
LinkFormatParamApigetLinkFormatParamItemGET /api/link_format_params/{id}Retrieves a LinkFormatParam resource.
LinkFormatParamSiteApigetLinkFormatParamSiteCollectionGET /api/link_format_param_sitesRetrieves the collection of LinkFormatParamSite resources.
LinkFormatParamSiteApigetLinkFormatParamSiteItemGET /api/link_format_param_sites/{id}Retrieves a LinkFormatParamSite resource.
LinkFormatParamValueApigetLinkFormatParamValueCollectionGET /api/link_format_param_valuesRetrieves the collection of LinkFormatParamValue resources.
LinkFormatParamValueApigetLinkFormatParamValueItemGET /api/link_format_param_values/{id}Retrieves a LinkFormatParamValue resource.
LinkFormatTypeApigetLinkFormatTypeCollectionGET /api/link_format_typesRetrieves the collection of LinkFormatType resources.
LinkFormatTypeApigetLinkFormatTypeItemGET /api/link_format_types/{id}Retrieves a LinkFormatType resource.
MarketApigetMarketCollectionGET /api/marketsRetrieves the collection of Market resources.
MarketApigetMarketItemGET /api/markets/{id}Retrieves a Market resource.
PartnerApigetPartnerCollectionGET /api/partnersRetrieves the collection of Partner resources.
PartnerApigetPartnerItemGET /api/partners/{id}Retrieves a Partner resource.
PartnerChannelApigetPartnerChannelCollectionGET /api/partner_channelsRetrieves the collection of PartnerChannel resources.
PartnerChannelApigetPartnerChannelItemGET /api/partner_channels/{id}Retrieves a PartnerChannel resource.
PartnerChannelParamApigetPartnerChannelParamCollectionGET /api/partner_channel_paramsRetrieves the collection of PartnerChannelParam resources.
PartnerChannelParamApigetPartnerChannelParamItemGET /api/partner_channel_params/{id}Retrieves a PartnerChannelParam resource.
PartnerMarketApigetPartnerMarketCollectionGET /api/partner_marketsRetrieves the collection of PartnerMarket resources.
PartnerMarketApigetPartnerMarketItemGET /api/partner_markets/{id}Retrieves a PartnerMarket resource.
PartnerTypeApigetPartnerTypeCollectionGET /api/partner_typesRetrieves the collection of PartnerType resources.
PartnerTypeApigetPartnerTypeItemGET /api/partner_types/{id}Retrieves a PartnerType resource.
RawCbsEntryApigetRawCbsEntryCollectionGET /api/raw_cbs_entriesRetrieves the collection of RawCbsEntry resources.
RawExplorAdsEntryApigetRawExplorAdsEntryCollectionGET /api/raw_explor_ads_entriesRetrieves the collection of RawExplorAdsEntry resources.
RawExplorAdsHourlyEntryApigetRawExplorAdsHourlyEntryCollectionGET /api/raw_explor_ads_hourly_entriesRetrieves the collection of RawExplorAdsHourlyEntry resources.
RawRiseEntryApigetRawRiseEntryCollectionGET /api/raw_rise_entriesRetrieves the collection of RawRiseEntry resources.
RawRiseHourlyEntryApigetRawRiseHourlyEntryCollectionGET /api/raw_rise_hourly_entriesRetrieves the collection of RawRiseHourlyEntry resources.
RawRiseYahooEntryApigetRawRiseYahooEntryCollectionGET /api/raw_rise_yahoo_entriesRetrieves the collection of RawRiseYahooEntry resources.
RawSpigotEntryApigetRawSpigotEntryCollectionGET /api/raw_spigot_entriesRetrieves the collection of RawSpigotEntry resources.
RawViacomCbsAdsenseEntryApigetRawViacomCbsAdsenseEntryCollectionGET /api/raw_viacom_cbs_adsense_entriesRetrieves the collection of RawViacomCbsAdsenseEntry resources.
RawViacomCbsAdsenseHourlyEntryApigetRawViacomCbsAdsenseHourlyEntryCollectionGET /api/raw_viacom_cbs_adsense_hourly_entriesRetrieves the collection of RawViacomCbsAdsenseHourlyEntry resources.
RawViacomCbsBingEntryApigetRawViacomCbsBingEntryCollectionGET /api/raw_viacom_cbs_bing_entriesRetrieves the collection of RawViacomCbsBingEntry resources.
RawViacomCbsYahooEntryApigetRawViacomCbsYahooEntryCollectionGET /api/raw_viacom_cbs_yahoo_entriesRetrieves the collection of RawViacomCbsYahooEntry resources.
RawViacomCbsYahooHourlyEntryApigetRawViacomCbsYahooHourlyEntryCollectionGET /api/raw_viacom_cbs_yahoo_hourly_entriesRetrieves the collection of RawViacomCbsYahooHourlyEntry resources.
RawYahooEntryApigetRawYahooEntryCollectionGET /api/raw_yahoo_entriesRetrieves the collection of RawYahooEntry resources.
RawYahooHourlyEntryApigetRawYahooHourlyEntryCollectionGET /api/raw_yahoo_hourly_entriesRetrieves the collection of RawYahooHourlyEntry resources.
RawYahooSourceEntryApigetRawYahooSourceEntryCollectionGET /api/raw_yahoo_source_entriesRetrieves the collection of RawYahooSourceEntry resources.
ReferrerReplacementChanceApigetReferrerReplacementChanceCollectionGET /api/referrer_replacement_chancesRetrieves the collection of ReferrerReplacementChance resources.
ReferrerReplacementChanceApigetReferrerReplacementChanceItemGET /api/referrer_replacement_chances/{id}Retrieves a ReferrerReplacementChance resource.
ReferrerReplacementProviderApigetReferrerReplacementProviderCollectionGET /api/referrer_replacement_providersRetrieves the collection of ReferrerReplacementProvider resources.
ReferrerReplacementProviderApigetReferrerReplacementProviderItemGET /api/referrer_replacement_providers/{id}Retrieves a ReferrerReplacementProvider resource.
ReferrerReplacementSiteApigetReferrerReplacementSiteCollectionGET /api/referrer_replacement_sitesRetrieves the collection of ReferrerReplacementSite resources.
ReferrerReplacementSiteApigetReferrerReplacementSiteItemGET /api/referrer_replacement_sites/{id}Retrieves a ReferrerReplacementSite resource.
RequestCheckApiapiRequestChecksPostPOST /api/request_checksCreates a RequestCheck resource.
ServerApigetServerCollectionGET /api/serversRetrieves the collection of Server resources.
ServerApigetServerItemGET /api/servers/{id}Retrieves a Server resource.
SiteApigetSiteCollectionGET /api/sitesRetrieves the collection of Site resources.
SiteApigetSiteItemGET /api/sites/{id}Retrieves a Site resource.
SiteArticleApigetSiteArticleCollectionGET /api/site_articlesRetrieves the collection of SiteArticle resources.
SiteArticleApigetSiteArticleItemGET /api/site_articles/{id}Retrieves a SiteArticle resource.
SiteArticleCategoryApigetSiteArticleCategoryCollectionGET /api/site_article_categoriesRetrieves the collection of SiteArticleCategory resources.
SiteArticleCategoryApigetSiteArticleCategoryItemGET /api/site_article_categories/{id}Retrieves a SiteArticleCategory resource.
SiteArticleImageApigetSiteArticleImageCollectionGET /api/site_article_imagesRetrieves the collection of SiteArticleImage resources.
SiteArticleImageApigetSiteArticleImageItemGET /api/site_article_images/{id}Retrieves a SiteArticleImage resource.
SiteArticleStatusApigetSiteArticleStatusCollectionGET /api/site_article_statusesRetrieves the collection of SiteArticleStatus resources.
SiteArticleStatusApigetSiteArticleStatusItemGET /api/site_article_statuses/{id}Retrieves a SiteArticleStatus resource.
SiteArticleTemplateApigetSiteArticleTemplateCollectionGET /api/site_article_templatesRetrieves the collection of SiteArticleTemplate resources.
SiteArticleTemplateApigetSiteArticleTemplateItemGET /api/site_article_templates/{id}Retrieves a SiteArticleTemplate resource.
SiteGroupApigetSiteGroupCollectionGET /api/site_groupsRetrieves the collection of SiteGroup resources.
SiteGroupApigetSiteGroupItemGET /api/site_groups/{id}Retrieves a SiteGroup resource.
SitePageApigetSitePageCollectionGET /api/site_pagesRetrieves the collection of SitePage resources.
SitePageApigetSitePageItemGET /api/site_pages/{id}Retrieves a SitePage resource.
StatImportAdgroupApigetStatImportAdgroupCollectionGET /api/stat_import_adgroupsRetrieves the collection of StatImportAdgroup resources.
ThemeApigetThemeCollectionGET /api/themesRetrieves the collection of Theme resources.
ThemeApigetThemeItemGET /api/themes/{id}Retrieves a Theme resource.
UserApigetUserCollectionGET /api/usersRetrieves the collection of User resources.
UserApigetUserItemGET /api/users/{id}Retrieves a User resource.
UserTeamApigetUserTeamCollectionGET /api/user_teamsRetrieves the collection of UserTeam resources.
UserTeamApigetUserTeamItemGET /api/user_teams/{id}Retrieves a UserTeam resource.

Models

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
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

统计信息

  • 总下载量: 2.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2022-09-05