Skip to content

TypeScript Gitpod SDK Example #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

TypeScript Gitpod SDK Example #35

wants to merge 1 commit into from

Conversation

Siddhant-K-code
Copy link
Member

This PR adds examples to demonstrate usage of the Gitpod TypeScript SDK

Added Example

  • list_environments.ts: Lists all environments with their details including:
    • Environment ID
    • Status
    • Creation time
    • Project ID (if available)
    • Repository URL (if available)
    • Machine class

Usage

  • Set your API key

    export GITPOD_API_KEY='your-api-key-here'
  • Run example

    yarn tsn -T examples/list_environments.ts

@Siddhant-K-code Siddhant-K-code enabled auto-merge (squash) February 20, 2025 17:19
auto-merge was automatically disabled February 21, 2025 08:00

Pull request was closed

@Siddhant-K-code Siddhant-K-code deleted the examples branch February 21, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant