Vectice Python API cheatsheet
Install Vectice
# Install Vectice latest package
pip install vectice
# Install a specific version of the Vectice package
pip install vectice==<version number>Connect to Vectice
#import and connect to Vectice
import vectice
connect = vectice.connect(
api_token = 'your-api-key', # Paste your api key
host = 'https://app.vectice.com', # Paste your host
)
# Connect to your project phase using your phase ID
phase = connect.phase("PHA-XXX") #You can fetch the relevant phase ID from your chosen Vectice project in the app.
#Create an iteration
iteration = phase.create_or_get_current_iteration()#import and connect to Vectice
import vectice
connect = vectice.connect(config="your-api-config.json") #Enter your API key JSON file
# Connect to your project phase using your phase ID
phase = connect.phase("PHA-XXX") #You can fetch the relevant phase ID from your chosen Vectice project in the app.
#Create an iteration
iteration = phase.create_or_get_current_iteration()