Skip to main content

Skeddly SDK for Python

Project description

Skeddly SDK for Python

The official Skeddly SDK for Python.

Build status

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


Download files

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

Source Distribution

skeddly-sdk-1.0.8.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

skeddly_sdk-1.0.8-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file skeddly-sdk-1.0.8.tar.gz.

File metadata

  • Download URL: skeddly-sdk-1.0.8.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for skeddly-sdk-1.0.8.tar.gz
Algorithm Hash digest
SHA256 2c1c316d049c252f1616ccb7f41172595693b5a6e0f8e38e883dae302d011203
MD5 faa205e421629c6a323810c0390084df
BLAKE2b-256 38be3bf9b39dca8b734e4f3c2ebdc7cd1b970aaa91407e6a8b53fff4c9129822

See more details on using hashes here.

File details

Details for the file skeddly_sdk-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: skeddly_sdk-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for skeddly_sdk-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7645f99bea8739888516f4236beed526bd5bd5590e8135306a87e53b9e3bc9f6
MD5 06bb2c3212cdcd6a74c3c386bd40eb8a
BLAKE2b-256 b6c88294d5fd6e490548e4d3f6f31b9464572eefc194ad2bd81a7a34799c825b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page