Skip to main content

Sideko REST API Python SDK

Overview

The Sideko API unlocks features including generating SDKs, setting up API Specifications with mock servers, creating documentation projects with generated API references and custom pages, managing roles and permissions, and more.

Synchronous Client

from sideko_portal import SidekoClient
from os import getenv

client = SidekoClient(api_key=getenv("API_KEY"))

Asynchronous Client

from sideko_portal import AsyncSidekoClient
from os import getenv

client = AsyncSidekoClient(api_key=getenv("API_KEY"))

Module Documentation and Snippets

api

  • create - Create a new API
  • delete - Delete an API
  • get - Get one API
  • init - Create an API with an initial version
  • list - List your APIs
  • patch - Update an existing API

api.spec

  • create - Add a new API specification
  • delete - Delete an API Specification and it's associated metadata
  • get - Get API specification metadata
  • get_openapi - Get OpenAPI specification
  • get_stats - Get Stats about the specification
  • list - List specs of a collection
  • patch - Update an API Specification and/or metadata
  • create - Links API Version to Documentation project version with a specified update policy
  • delete - Removes an API link
  • get - Retrieve single API link
  • list - List API links for doc version
  • patch - Updates an API link
  • reorder - Reorder API links and groups

api_link.group

  • create - Create API group to organize API links
  • delete - Deletes the api group and all its links
  • list - List API groups for doc version
  • patch - Updates API link group

asset

auth

cli

doc

  • check_preview - A simple check to see if the requesting user has access to the preview doc project
  • create - Create a new Documentation Project
  • delete - Delete a specific Documentation Project
  • get - Get a specific Documentation Project
  • list - List Documentation Projects
  • patch - Update an existing Documentation Project

doc.deployment

  • get - Get a specific deployment for a specific documentation project
  • list - List deployments for a specific documentation project
  • trigger - Deploy a new generated version of documentation with linked guides & APIs

doc.preview

  • create_password - A password generator for a documentation project preview environment
  • delete_password - Deletes a preview environment password
  • list_passwords - Lists generated passwords for a documentation project preview environment

doc.theme

  • get - Get the theme attached to a documentation project
  • update - Update a document project theme

doc.version

  • get - Get a specific version of an Documentation Project
  • list - List versions of a specific Documentation Project

doc.version.guide

  • create - Create a guide for a specific version of a documentation project
  • delete - Delete a specific guide for a specific version of a documentation project
  • get - Get a specific guide for a specific version of a documentation project
  • get_content - Get content for a specific guide for a specific version of a documentation project
  • list - List guides for a specific version of a documentation project
  • patch - Update a specific guide for a specific version of a documentation project
  • reorder - Reorder guides for a specific version of a documentation project

lint

  • run - Lint an OpenAPI spec

org

  • create - Create a new organization
  • get - Get Organization

org.theme

  • get - Get organization theme
  • update - Update organization theme

role

  • create - Create a new role
  • delete - Delete role and all associated permissions
  • list - List roles

sdk

  • generate - Generate a new managed SDK from a Sideko configuration file
  • list - List all managed SDKs
  • update - Update an SDK to reflect the latest state of the API

sdk.config

  • init - Initialize an SDK configuration with all defaults applied
  • sync - Sync an SDK configuration with the latest state of the API

sdk.doc

  • create - Retrieve SDK documentation

service_account

  • create - Create a new service account with a set of project permissions
  • delete - Delete a service account
  • get - Get service account by the ID
  • list - List all service accounts in organization

user

  • invite - Invite a user to an organization with a specific role

user.me

  • get - Get current user profile
  • get_key - Get API key for the current user

Metadata

Release files for sideko_portal 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sideko_portal 0.3.2
File Size Uploaded Provenance Actions
sideko_portal-0.3.2.tar.gz 52.2 kB Without provenance Details for sideko_portal-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sideko_portal 0.3.2
File Interpreter ABI Platform Actions
sideko_portal-0.3.2-py3-none-any.whl Python 3 none any Details for sideko_portal-0.3.2-py3-none-any.whl

Total release size: 176.0 kB

Release files / sideko_portal-0.3.2.tar.gz

Download URL sideko_portal-0.3.2.tar.gz
Size 52.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5680f0704c98b129a6f5b613992e9e7eb6ce94d8c1a1e299d3ee7540f3e90a73
BLAKE2b-256 checksum
How to use checksums
96b6b52bfe7f4344c85e221cf9894df141f63d5760163ab457669d3e78402c23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1013-azure

Release files / sideko_portal-0.3.2-py3-none-any.whl

Download URL sideko_portal-0.3.2-py3-none-any.whl
Size 123.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3b031b775a8a0ca7456152e1db7c69d4ace74f8389e07532aba3c9ae46c149b
BLAKE2b-256 checksum
How to use checksums
2af5a814a84b2ff48f886ddd64b94ed0a988e2df1fef7cc8882e7bb863e522cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1013-azure

Security for sideko_portal 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page