Procore Python SDK
Python SDK for accessing Procore APIs.
Installation
This project requires Python 3+ and Requests library (pip install requests).
-
Download this project and use it (copy it in your project, etc).
-
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.
- 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
Metadata
Release files for procore 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| procore-0.1.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| procore-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / procore-0.1.0.tar.gz
| Download URL | procore-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9660d8d99841c0923884ecff1a5678814b306bcab28595aadd3b169b9c8cce05
|
|
BLAKE2b-256 checksum How to use checksums |
d234fc64f8d62d176136c83f37368a92e7611c4d465e8653d64aa9bc1bb4b9ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / procore-0.1.0-py3-none-any.whl
| Download URL | procore-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79a83b055ff5c4c7890950e9ea30b2166efd7f64e639c83591bf364bf5f299b1
|
|
BLAKE2b-256 checksum How to use checksums |
fa5852682ede5812dfc4f6c3e222b7b72f16320f4c5b7ad23dcae2b09adab0ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|