criteo/criteo-api-commercegrid-sdk
Composer 安装命令:
composer require criteo/criteo-api-commercegrid-sdk
包简介
PHP SDK for Criteo API 0.0.260713 version
README 文档
README
Introduction
API Client Libraries can facilitate your use of the Criteo API allowing you to build unique and customized solutions to serve your businesses and clients. These libraries can reduce the amount of code you need to write in order to start accessing Criteo programmatically. They also can help expedite troubleshooting, should you encounter any issues.
More information on how to use Criteo API and these SDKs can be found at: https://developers.criteo.com/.
This PHP package is automatically generated by the OpenAPI Generator project:
- Package version: 0.0.260713
- Build package: org.openapitools.codegen.languages.PhpClientCodegen
Requirements
This project is tested with PHP 8.0. However it should work fine with PHP 7.4 too.
Installation & Usage
Composer
To install the bindings via Composer:
either run the following command: composer require criteo/criteo-api-commercegrid-sdk:0.0.260713
or add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/criteo/criteo-api-commercegrid-php-sdk.git"
}
],
"require": {
"criteo/criteo-api-commercegrid-php-sdk": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
require_once('/path/to/criteo-api-commercegrid-sdk/vendor/autoload.php');
Tests
To run the unit tests:
composer run-script test
Example
Please see test/ExampleApplication.php for an example on how to perform a simple call.
Documentation for API Endpoints
All URIs are relative to https://api.criteo.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| GatewayApi | getCurrentApplication | GET /preview/commerce-grid/me | /preview/commerce-grid/me |
| SegmentApi | addRemoveContactListByAudienceSegment | POST /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/add-remove | /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/add-remove |
| SegmentApi | bulkCreateAudienceSegments | POST /preview/commerce-grid/audience-segments/create | /preview/commerce-grid/audience-segments/create |
| SegmentApi | bulkDeleteAudienceSegments | POST /preview/commerce-grid/audience-segments/delete | /preview/commerce-grid/audience-segments/delete |
| SegmentApi | bulkUpdateAudienceSegments | PATCH /preview/commerce-grid/audience-segments | /preview/commerce-grid/audience-segments |
| SegmentApi | clearContactListByAudienceSegment | POST /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/clear | /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/clear |
| SegmentApi | getAudienceSegmentContactListStatistics | GET /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/statistics | /preview/commerce-grid/audience-segments/{audience-segment-id}/contact-list/statistics |
| SegmentApi | searchAudienceSegments | POST /preview/commerce-grid/audience-segments/search | /preview/commerce-grid/audience-segments/search |
Documentation For Models
- ApplicationSummaryModel
- ApplicationSummaryModelResource
- ApplicationSummaryModelResponse
- AudienceError
- AudienceWarning
- CgAudienceSegmentBulkCreateInputV1
- CgAudienceSegmentBulkDeleteInputV1
- CgAudienceSegmentBulkUpdateInputV1
- CgAudienceSegmentCreateEntityV1
- CgAudienceSegmentCreateEntityV1Resource
- CgAudienceSegmentDeleteEntityV1Resource
- CgAudienceSegmentEntityV1
- CgAudienceSegmentEntityV1CgAudienceSegmentSearchMetadataV1ListResponse
- CgAudienceSegmentEntityV1ListResponse
- CgAudienceSegmentEntityV1Resource
- CgAudienceSegmentIdEntityV1ListResponse
- CgAudienceSegmentIdEntityV1Resource
- CgAudienceSegmentSearchEntityV1
- CgAudienceSegmentSearchEntityV1Resource
- CgAudienceSegmentSearchInputV1
- CgAudienceSegmentSearchMetadataV1
- CgAudienceSegmentUpdateEntityV1
- CgAudienceSegmentUpdateEntityV1Resource
- CgContactListCreateV1
- CgContactListStatisticsEntityV1
- CgContactListStatisticsEntityV1Resource
- CgContactListStatisticsEntityV1Response
- CommerceGridContactlistAmendment
- CommerceGridContactlistAmendmentAttributes
- CommerceGridContactlistAmendmentRequest
- CommerceGridContactlistOperation
- CommerceGridContactlistOperationResponseAttributes
- CommerceGridContactlistOperationResponseAttributesAttributes
- CommonProblem
- NillableString
Documentation For Authorization
oauth
- Type: OAuth
- Flow: application
- Authorization URL:
- Scopes: N/A
oauth
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://api.criteo.com/oauth2
- Scopes: N/A
Author
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
criteo/criteo-api-commercegrid-sdk 适用场景与选型建议
criteo/criteo-api-commercegrid-sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「rest」 「api」 「sdk」 「criteo」 「openapi generator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 criteo/criteo-api-commercegrid-sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 criteo/criteo-api-commercegrid-sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 criteo/criteo-api-commercegrid-sdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Api bundle
Alfabank REST API integration
A Flickr wrapper to allow you to call the Flickr api with Guzzle as the backend.Goal is to have 100% Flickr api coverage rather than just upload/display photos (currently at 23%).
BlockCypher's PHP SDK for REST API
Helper classes for creating cookie headers
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-02-10