概述
要开始使用产品信息 API 套件,请执行以下步骤:
第 1 步:必要条件
只有获得批准的客户才能使用 TI store 产品 API 套件构建应用程序。获得批准:
- 创建 myTI 帐户或登录您的现有 myTI 帐户。
- 创建 myTI 公司帐户。
- 点击“API Keys and Access”页面上的“Request”。
第 2 步:身份验证
TI 已使用 OAuth 2.0 保护其 API 套件。使用您的 API 密钥进行身份验证。授权后,OAuth2 将返回与已启用的套件中的 API 一起使用的访问令牌。有关更多详细信息,请参阅“Authentication”页面。
curl --request POST \
--url 'https://transact.ti.com/v1/oauth/accesstoken' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data grant_type=client_credentials \
--data client_id=<<INSERT YOUR CLIENT KEY>> \
--data client_secret=<<INSERT YOUR SECRET>>
第 3 步:查询产品信息
以下说明如何检索 TI 产品信息的示例将查询器件型号 AFE7799。有关与产品相关的所有参数的列表,请参阅“产品信息 API”页面中显示的文档。
申请示例:
curl --request GET \
--url 'https://transact.ti.com/v1/products/AFE7799' \
--header 'Authorization: Bearer {access_token}' \
对成功申请的回复:
{
"ChangeOrderWindow": "STD",
"DatasheetUrl": "http://ti.com/lit/gpn/AFE7799",
"Description": "Quad-channel RF transceiver with dual feedback paths",
"ExportControlClassificationNumber": "EAR99",
"ExtendedShelfLife": false,
"FullBoxQty": 126,
"GenericProductIdentifier": "AFE7799",
"HtsCode": "8542390001",
"Identifier": "AFE7799IABJ",
"IndustryPackageType": "NFBGA",
"InventoryStatus": "In-Stock",
"JedecCode": "S-PBGA-N",
"LeadTimeWeeks": "8",
"Length": 15,
"LifeCycleStatus": "ACTIVE",
"LifetimeBuy": false,
"MaterialContentUrl": "http://www.ti.com/materialcontent/en/search?partNumber=AFE7799IABJ&partType=tiPartNumber",
"MaxHeight": 1.8,
"MilitaryGoods": true,
"MinOrderQty": 630,
"NextIncrementQty": 126,
"Obsolete": false,
"OkayToOrder": true,
"PackageCarrier": "JEDEC TRAY (10+1)",
"PackageGroup": "QFN",
"PackageType": "ZBV",
"Pin": 289,
"Pitch": 0.8,
"Price": {
"Quantity": 1000,
"Value": 1
},
"ProductFamilyDescription": "RF-sampling transceivers",
"QualityEstimatorUrl": "http://www.ti.com/quality/docs/estimator.tsp?OPN=AFE7799IABJ&partNumber=AFE7799IABJ&partType=tiPartNumber",
"StandardPackQty": 126,
"StopShip": false,
"Thickness": 1.25,
"Url": "http://www.ti.com/product/AFE7799",
"Width": 15
}
第 4 步:查询产品编排信息
以下显示如何检索 TI 产品参数、质量和可靠性数据的示例将查询器件型号 AFE7799。如果在一次调用中不需要基本参数和质量详细信息,请将标准产品信息 API 与各个数据终点结合使用,因为编排的 API 的响应时间较慢。有关所有提供的与产品编号相关的参数列表,请参阅“产品信息编排 API”页面。
申请示例:
curl --request GET \
--url 'https://transact.ti.com/v1/products-extended/AFE7799?page=0' \
--header 'Authorization: Bearer {access_token}' \
示例回复:
{
"Product": {
"ChangeOrderWindow": "STD",
"DatasheetUrl": "http://ti.com/lit/gpn/AFE7799",
"Description": "Quad-channel RF transceiver with dual feedback paths",
"ExportControlClassificationNumber": "EAR99",
"ExtendedShelfLife": false,
"FullBoxQty": 126,
"GenericProductIdentifier": "AFE7799",
"HtsCode": "8542390001",
"Identifier": "AFE7799IABJ",
"IndustryPackageType": "NFBGA",
"InventoryStatus": "In-Stock",
"JedecCode": "S-PBGA-N",
"LeadTimeWeeks": "8",
"Length": 15,
"LifeCycleStatus": "ACTIVE",
"LifetimeBuy": false,
"MaterialContentUrl": "http://www.ti.com/materialcontent/en/search?partNumber=AFE7799IABJ&partType=tiPartNumber",
"MaxHeight": 1.8,
"MilitaryGoods": true,
"MinOrderQty": 630,
"NextIncrementQty": 126,
"Obsolete": false,
"OkayToOrder": true,
"PackageCarrier": "JEDEC TRAY (10+1)",
"PackageGroup": "QFN",
"PackageType": "ZBV",
"Pin": 289,
"Pitch": 0.8,
"Price": {
"Quantity": 1000,
"Value": 1
},
"ProductFamilyDescription": "RF-sampling transceivers",
"QualityEstimatorUrl": "http://www.ti.com/quality/docs/estimator.tsp?OPN=AFE7799IABJ&partNumber=AFE7799IABJ&partType=tiPartNumber",
"StandardPackQty": 126,
"StopShip": false,
"Thickness": 1.25,
"Url": "http://www.ti.com/product/AFE7799",
"Width": 15
},
"Quality": {
"AutomotiveQualification": true,
"CommodityGroup": "string",
"DieSize": "10.0 x 10.0 UM",
"DefectivePartsPerMillion": "691",
"FailuresInTime": "1.0",
"MeanTimeBetweenFailures": "5390000000",
"ProcessTechnology": [
"string"
]
},
"Parametric": {
"Description": "string",
"Range": {
"Min": "string",
"Max": "string"
},
"Type": "string",
"Unit": "string",
"UnitDescription": "string",
"Value": "string"
},
"Message": "string"
}
第 5 步:支持
如需获取技术支持,请访问 TI E2E™ 设计支持论坛,查看现有数据库中的答案或发布您的问题。