cloudsmith-io / cloudsmith-io/cloudsmith-api

Support TypeScript

Open
#56 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15
Forks
7
Avg merge
19h 9m
Merged PRs (30d)
7

Description

> If you need a different binding, [contact us](https://help.cloudsmith.io/docs/contact-us)!

Can you show us how to make API request in TS?

Example code:

```py
from cloudsmith_api import (
ApiClient,
EntitlementsApi,
RepositoryToken,
RepositoryTokenRequest,
)

npm = typing.cast(
RepositoryToken,
entitlements.entitlements_create(
owner="testowner", repo="repo-name", show_tokens=True, data=req
),
)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.