An open API service indexing awesome lists of open source software.

https://github.com/wulfmann/vercel

Python SDK for the Vercel API
https://github.com/wulfmann/vercel

api python sdk vercel

Last synced: about 1 month ago
JSON representation

Python SDK for the Vercel API

Awesome Lists containing this project

README

          

# Vercel Python SDK

Most resources are supported, but some are missing. You can check the [support table](/docs/supported-resources.md) for an up-to-date list. This library is in active development. If something you need is missing, [open an issue](https://github.com/wulfmann/vercel/issues/new/choose).

## Install

Requires >= python 3.7

```bash
pip install vercel
```

## Quickstart

```python
import vercel

vercel.api_token = 'xxxxxx'

user = vercel.User.get()
```

### Team Resources

To access resources owned by a team, set the `team_id`.

You can learn more about the authentication process [here](/docs/reference/authentication).

```python
import vercel

vercel.api_token = 'xxxxxx'
vercel.team_id = 'my-team

vercel.Domain.get('mydomain.com')
```

## Guide

You can view more information on working with this library in [the guide](/docs/guide).

## Resource Support

See the [support table](/docs/supported-resources) for an up-to-date list of the API resources this library supports.

If you'd like to see a resource support prioritized, [open an issue](https://github.com/wulfmann/vercel/issues/new/choose).

## Contributing

Want to contribute or found a bug to fix?

Checkout the [contributing doc](/CONTRIBUTING.md) and submit a PR!