Connect to any API with a single line of code
Project description
Shufflepy
Connect to your favorite services with a single line of code.
This Library is in an Experimental Phase
Installation
pip install shufflepy
Configuration
from shufflepy import Shuffle
## If the config is not specified, the library will use `https://shuffler.io` as the default URL. You must specify an apikey.
shuffle = Shuffle(
"APIKEY",
url='https://shuffler.io',
)
Requirements
- Having an active authentication for the service you are trying to connect to in Shuffle, whether in your own instance or in the Shuffle cloud: https://shuffler.io
Usage
Premade functions:
ticket = shuffle.create_ticket("jira")
# Returns the ticket information in a standardized "ticket" format by default
print(ticket)
Manual:
# General connect
tickets = shuffle.connect(
app='jira',
action='list_tickets',
)
# Returns output according to the 'list_tickets' standard
print(tickets)
# General transformer - Transforms from any data into a standard, e.g. "list_tickets"
sourcedata = [{"title": "Tickettitle", "id": "hiya"}]
tickets = shuffle.transform(sourcedata, "list_tickets")
print(tickets)
Basic output for list_tickets
:
[{
"id": "P-123",
"title": "Ticket 1"
},
{
"id": "P-124",
"title": "Ticket 2"
}]
See default standards - Standards are modifiable, and you will see your own standards on the File page in Shuffle.
Available Apps & categories
Available Categories (May 2024)
- Ticket management (Cases)
- Communication/Email (Comms)
- SIEM (SIEM)
- EDR/XDR (Eradication)
- Asset Management (Assets)
- Identity (IAM)
- Threat Intel (Intel)
- Cloud Security (Cloud)
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
shufflepy-0.0.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file shufflepy-0.0.1.tar.gz
.
File metadata
- Download URL: shufflepy-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 762b53ba7cadb3ebcefc97f4795685d4afcd4469fbbeb7fd9632c22d2912d604 |
|
MD5 | baf90015c5c29b43c0b9e4d25b71217b |
|
BLAKE2b-256 | dbec84a470145aa128a5dd9dd444531ad744e00cb7e4afbbd960c453d795cb66 |
File details
Details for the file shufflepy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: shufflepy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7884fad71ce892a91ae25d514b0af8baef3cc6b35fcb6fb2cd32c2672c9130e |
|
MD5 | bad7915b3353b6b6cc4f3d05849fb941 |
|
BLAKE2b-256 | 0c194479aa7ffded136822f7e84c2f3c290f4b59c5a0e861338958855d2ec24f |