wistiapy


Namewistiapy JSON
Version 0.0.13 PyPI version JSON
download
home_pagehttps://github.com/Edrolo/wistiapy
SummaryA Python client for the Wistia data API
upload_time2023-05-23 03:32:25
maintainer
docs_urlNone
authorMatt Fisher
requires_python
licenseMIT
keywords wistia api client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Wistia Python client

A Python client for the [Wistia Data API](https://wistia.com/support/developers/data-api)

![](https://github.com/Edrolo/wistiapy/workflows/Python%20Tests/badge.svg)
[![PyPI version](https://badge.fury.io/py/wistiapy.svg)](https://badge.fury.io/py/wistiapy)

## Installation
```bash
pip install wistiapy
```

You'll need to create an access token [as documented](https://wistia.com/support/developers/data-api#creating-and-managing-access-tokens).

## Usage

```python
from wistia import WistiaClient
wistia = WistiaClient(api_password='YOUR_API_PASSWORD')
projects = wistia.list_projects()
```

Alternatively, you can set your password in an environment variable, or, if using Django, in a
setting called `WISTIA_API_PASSWORD`. Then use the factory function:
```python
from wistia import get_wistia_client
wistia = get_wistia_client()
```

## Dummy Client
Included is a mock version of the client for testing purposes. It will log any calls made to it,
and attempts to respond in the same manner as the live service. Currently a work-in-progress.
If using Django, including the setting `WISTIA_CLIENT_CLASS = 'WistiaDummyClient'` will make
`get_wistia_client` provide a dummy client.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Edrolo/wistiapy",
    "name": "wistiapy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "wistia api client",
    "author": "Matt Fisher",
    "author_email": "matt@edrolo.com",
    "download_url": "https://files.pythonhosted.org/packages/73/df/12660ae1af63c58c3a47154719afc6d63771a5094bf9ba816d23fed3b5d1/wistiapy-0.0.13.tar.gz",
    "platform": null,
    "description": "# Wistia Python client\n\nA Python client for the [Wistia Data API](https://wistia.com/support/developers/data-api)\n\n![](https://github.com/Edrolo/wistiapy/workflows/Python%20Tests/badge.svg)\n[![PyPI version](https://badge.fury.io/py/wistiapy.svg)](https://badge.fury.io/py/wistiapy)\n\n## Installation\n```bash\npip install wistiapy\n```\n\nYou'll need to create an access token [as documented](https://wistia.com/support/developers/data-api#creating-and-managing-access-tokens).\n\n## Usage\n\n```python\nfrom wistia import WistiaClient\nwistia = WistiaClient(api_password='YOUR_API_PASSWORD')\nprojects = wistia.list_projects()\n```\n\nAlternatively, you can set your password in an environment variable, or, if using Django, in a\nsetting called `WISTIA_API_PASSWORD`. Then use the factory function:\n```python\nfrom wistia import get_wistia_client\nwistia = get_wistia_client()\n```\n\n## Dummy Client\nIncluded is a mock version of the client for testing purposes. It will log any calls made to it,\nand attempts to respond in the same manner as the live service. Currently a work-in-progress.\nIf using Django, including the setting `WISTIA_CLIENT_CLASS = 'WistiaDummyClient'` will make\n`get_wistia_client` provide a dummy client.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python client for the Wistia data API",
    "version": "0.0.13",
    "project_urls": {
        "Homepage": "https://github.com/Edrolo/wistiapy"
    },
    "split_keywords": [
        "wistia",
        "api",
        "client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fbf4541ce69b6ba0b72b3a4b2caebb513ac08f7c07bc8775bbab4ee70ac4a4a6",
                "md5": "24de180cd575873efec166434b57669d",
                "sha256": "497e9c83e2a4aa7ad6a50b926a7657e28fa334f688763a73255121218ab6396e"
            },
            "downloads": -1,
            "filename": "wistiapy-0.0.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "24de180cd575873efec166434b57669d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16436,
            "upload_time": "2023-05-23T03:32:23",
            "upload_time_iso_8601": "2023-05-23T03:32:23.900419Z",
            "url": "https://files.pythonhosted.org/packages/fb/f4/541ce69b6ba0b72b3a4b2caebb513ac08f7c07bc8775bbab4ee70ac4a4a6/wistiapy-0.0.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73df12660ae1af63c58c3a47154719afc6d63771a5094bf9ba816d23fed3b5d1",
                "md5": "1e621c7cfe26ae2bfecb9ea85a242e8c",
                "sha256": "b7aea54e64448d7aaf171c507e48e6908bd78262109140df7608f4d2cee60856"
            },
            "downloads": -1,
            "filename": "wistiapy-0.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "1e621c7cfe26ae2bfecb9ea85a242e8c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13601,
            "upload_time": "2023-05-23T03:32:25",
            "upload_time_iso_8601": "2023-05-23T03:32:25.514173Z",
            "url": "https://files.pythonhosted.org/packages/73/df/12660ae1af63c58c3a47154719afc6d63771a5094bf9ba816d23fed3b5d1/wistiapy-0.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-23 03:32:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Edrolo",
    "github_project": "wistiapy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "wistiapy"
}
        
Elapsed time: 0.06788s