Skip to main content

simple shotgun api wrap

Project description

pyShotgun

A python wrapper for shotgun api

usage

basic usage

import logging
logger = logging.getLogger(__name__)
import shotgun_api3
from py_shotgun import SGSchema
sg = shotgun_api3.Shotgun(server, script_name=script_name, api_key=script_key)
# init a shotgun api

SGSchema.set_api(sg)
SGProject = SGSchema.sgClasses.Project
SGReply = SGSchema.sgClasses.Reply
# get shotgun class from "SGSchema.sgClasses"

project = SGProject(1, sg, logger)
reply = SGReply(2, sg, logger)

print(project.name)

Project details


Download files

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

Files for py-shotgun, version 0.0.10
Filename, size File type Python version Upload date Hashes
Filename, size py_shotgun-0.0.10.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page