Using paylocity-python-sdk with paylocity.com

Python integration

Install
pip install paylocity-python-sdk
Quick start
import paylocity-python-sdk

# Use an OAuth2 access token
client = paylocity_python_sdk.Client(access_token="YOUR_ACCESS_TOKEN")
Get Company-Specific Open API Documentation
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.paylocity.com/api/v2/companies/{companyId}/openapi
Get all employees
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.paylocity.com/api/v2/companies/{companyId}/employees/
Get All Company Codes
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.paylocity.com/api/v2/companies/{companyId}/codes/{codeResource}
SDK on GitHub 📄 API Docs
SDK
paylocity-python-sdk
Python
API
paylocity.com
paylocity.com
At a glance
Language Python
Endpoints30
Base URLhttps://api.paylocity.com/api