技能 编程开发 Procore项目管理流程检查

Procore项目管理流程检查

v20260423
procore-prod-checklist
本技能提供使用Procore REST API实现项目管理检查表(Checklist)的指南。内容涵盖OAuth2认证流程、API调用模式(如获取公司数据)以及详尽的错误处理机制。适用于需要将Procore集成到自定义项目工作流(如RFI、提交物、项目状态跟踪)中的开发人员。
获取技能
209 次下载
概览

Procore Prod Checklist

Overview

Implementation patterns for Procore prod checklist using the REST API with OAuth2 authentication.

Prerequisites

  • Completed procore-install-auth setup

Instructions

Step 1: API Call Pattern

import os, requests

token_resp = requests.post("https://login.procore.com/oauth/token", data={
    "grant_type": "client_credentials",
    "client_id": os.environ["PROCORE_CLIENT_ID"],
    "client_secret": os.environ["PROCORE_CLIENT_SECRET"],
})
access_token = token_resp.json()["access_token"]
headers = {"Authorization": f"Bearer {access_token}"}

companies = requests.get("https://api.procore.com/rest/v1.0/companies", headers=headers)
print(f"Companies: {len(companies.json())}")

Output

  • Procore API integration for prod checklist

Error Handling

ErrorCauseSolution
401 UnauthorizedExpired tokenRe-authenticate
429 Rate LimitedToo many requestsImplement backoff
403 ForbiddenInsufficient permissionsCheck project role

Resources

Next Steps

See related Procore skills for more workflows.

信息
分类 编程开发
名称 procore-prod-checklist
版本 v20260423
大小 1.77KB
更新时间 2026-04-28
语言