-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
- Loading branch information
1 parent
967595d
commit 60e2456
Showing
202 changed files
with
14,133 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Specify files that shouldn't be modified by Fern |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: ci | ||
|
||
on: [push] | ||
jobs: | ||
compile: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: Set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
- name: Bootstrap poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1 | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Compile | ||
run: poetry run mypy . | ||
test: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: Set up python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.7 | ||
- name: Bootstrap poetry | ||
run: | | ||
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1 | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Test | ||
run: poetry run pytest . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist/ | ||
.mypy_cache/ | ||
__pycache__/ | ||
poetry.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,60 @@ | ||
<!-- Begin Title, generated by Fern --> | ||
# Webflow Python Library | ||
|
||
[](https://pypi.python.org/pypi/WebflowPythonClient) | ||
[](https://buildwithfern.com/?utm_source=webflow/webflow-python/readme) | ||
[](https://github.com/fern-api/fern) | ||
|
||
The Merge Python library provides access to the Merge API from Python. | ||
The Webflow Python Library provides convenient access to the Webflow API from applications written in Python. | ||
<!-- End Title --> | ||
|
||
## Documentation | ||
<!-- Begin Installation, generated by Fern --> | ||
# Installation | ||
|
||
API reference documentation is available at https://developers.webflow.com/ | ||
```sh | ||
pip install --upgrade webflow | ||
``` | ||
<!-- End Installation --> | ||
|
||
## Installation | ||
<!-- Begin Usage, generated by Fern --> | ||
# Usage | ||
|
||
```sh | ||
pip install --upgrade WebflowPythonClient | ||
```python | ||
from webflow.client import Webflow | ||
|
||
client = Webflow( | ||
access_token="YOUR_ACCESS_TOKEN", | ||
) | ||
``` | ||
<!-- End Usage --> | ||
|
||
## Instantiation | ||
<!-- Begin Async Usage, generated by Fern --> | ||
# Async Client | ||
|
||
```python | ||
TODO | ||
from webflow.client import AsyncWebflow | ||
|
||
client = AsyncWebflow( | ||
access_token="YOUR_ACCESS_TOKEN", | ||
) | ||
``` | ||
<!-- End Async Usage --> | ||
|
||
<!-- Begin Status, generated by Fern --> | ||
# Beta Status | ||
|
||
## Contributing | ||
This SDK is in beta, and there may be breaking changes between versions without a major | ||
version update. Therefore, we recommend pinning the package version to a specific version. | ||
This way, you can install the same version each time without breaking changes. | ||
<!-- End Status --> | ||
|
||
While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us! | ||
<!-- Begin Contributing, generated by Fern --> | ||
# Contributing | ||
|
||
While we value open-source contributions to this SDK, this library is generated programmatically. | ||
Additions made directly to this library would have to be moved over to our generation code, | ||
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as | ||
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening | ||
an issue first to discuss with us! | ||
|
||
On the other hand, contributions to the README are always very welcome! | ||
<!-- End Contributing --> | ||
|
Oops, something went wrong.