Skip to main content

Python SDK for accessing Procore APIs

Project description

Procore Python SDK

Python SDK for accessing Procore APIs.

Installation

This project requires Python 3+ and Requests library (pip install requests).

  1. Download this project and use it (copy it in your project, etc).

  2. Install it from pip.

     $ pip install procore
    

Usage

To use this SDK you'll need these Procore credentials used for OAuth2 authentication: client ID, client secret and refresh token. Visit https://developers.procore.com to setup Procore developer account

This SDK is very easy to use.

  1. First you'll need to create a connection using the main class Procore.
from procore import Procore, WrongParamsError

connection = Procore(
    login_url='LOGIN URL',
    base_url='BASE URL',
    client_id='PROCORE CLIENT ID',
    client_secret='PROCORE CLIENT SECRET',
    refresh_token='REFRESH TOKEN'
)

companies = connection.companies.get() # Get All Companies
company_id = companies[0]['id']

projects = connection.projects.get(company_id=company_id) # Get All Projects

See more details about the usage into the wiki pages of this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

procore-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

procore-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file procore-0.1.0.tar.gz.

File metadata

  • Download URL: procore-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for procore-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9660d8d99841c0923884ecff1a5678814b306bcab28595aadd3b169b9c8cce05
MD5 15e99e2567145cf12f3b3417db7c0574
BLAKE2b-256 d234fc64f8d62d176136c83f37368a92e7611c4d465e8653d64aa9bc1bb4b9ef

See more details on using hashes here.

File details

Details for the file procore-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: procore-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for procore-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79a83b055ff5c4c7890950e9ea30b2166efd7f64e639c83591bf364bf5f299b1
MD5 99c7bddaa27632bc0c445c996d58cfdc
BLAKE2b-256 fa5852682ede5812dfc4f6c3e222b7b72f16320f4c5b7ad23dcae2b09adab0ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page