概覽

 

若要開始使用產品資訊 API 套件,請依照下列步驟執行: 

  1. 存取和開發的先決條件
  2. 驗證以接收存取權杖
  3. 了解如何查詢可公開使用的產品資料
  4. 了解如何擷取參數、品質與可靠性資料

 

步驟 1:先決條件

 

只有經核准的客戶才能使用 TI store 產品 API 套件建置應用程式。獲得核准:

  1. 建立 myTI 帳戶或登入您現有的 myTI 帳戶。
  2. 建立 myTI 公司帳戶
  3. 按一下 API 金鑰和存取頁面上的「索取」。

 

步驟 2:驗證

 

TI 已使用 OAuth 2.0 確保其 API 套件的安全。使用您的 API 金鑰和秘密進行驗證。授權後,OAuth2 會傳回您已啟用之套件中與 API 搭配使用的存取權杖。如需詳細資訊,請參閱驗證頁面

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:支援