Skeddly SDK for Python
Project description
Skeddly SDK for Python
The official Skeddly SDK for Python.
Requirements
- Python 3.6 or later
Installation
Install the SDK using pip
.
pip install skeddly-sdk
Usage
Step 1: In your .py
file, import
the Skeddly namespace:
import skeddly
Step 2: Create a configuration file in ~/.skeddlyrc
:
[default]
accessKey=sk_12345678901234567890123456789012
The default
section header is required.
Step 3: Create your client object:
client = skeddly.Client()
Step 4: Call the Skeddly API:
actions = client.list_actions(
filter={
"actionTypes": "amazon-start-ec2-instances"
})
Per-Client Configuration
If you want to set the Skeddly access key via code rather than in the ~/skeddlyrc
file, you can do so by passing the access key into the client constructor:
client = skeddly.Client(accessKey="sk_12345678901234567890123456789012")
Data Formats
Responses
Unless otherwise mentioned, responses are dict
.
actions = client.list_actions()
for action in actions:
print("Action ID: " + action["actionId"])
print("Action Name: " + action["name"])
Additional Resources
Getting Help
SDK Bugs
If you think you found a bug in the code of this SDK, feel free to create an issue.
Missing Functionality
If a method if missing from this library that is in the Skeddly API Documentation, feel free to create an issue.
Pull Requests
We can accept pull requests. Our review requirements are strict though :)
All Other Help
Please contact us.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for skeddly_sdk-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7645f99bea8739888516f4236beed526bd5bd5590e8135306a87e53b9e3bc9f6 |
|
MD5 | 06bb2c3212cdcd6a74c3c386bd40eb8a |
|
BLAKE2b-256 | b6c88294d5fd6e490548e4d3f6f31b9464572eefc194ad2bd81a7a34799c825b |