i2a-oauth2-api-client


Namei2a-oauth2-api-client JSON
Version 3.0.4 PyPI version JSON
download
home_page
SummarySdk for i2a oauth2 api
upload_time2023-05-09 11:00:10
maintainer
docs_urlNone
authori2a Solutions Inc.
requires_python
licenseMIT
keywords i2a oauth2 client i2a oauth2 api i2a oauth2 python 3 i2a oauth2 api sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            #Installation
```python
pip install i2a-oauth2-api-client
```

#Usage
```python
from i2a_oauth2_api_client.client import I2AOauth2Client
from i2a_oauth2_api_client.enums import Environment


client = I2AOauth2Client(
    client_id='your client id',
    client_secret='your client secret',
    environment=Environment.QA  # default
)
```

#Enums
```python
from enum import Enum


class Environment(Enum):
    QA = 1
    PROD = 2
```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "i2a-oauth2-api-client",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "I2A Oauth2 Client,I2A Oauth2 Api,I2A Oauth2,Python 3,I2A Oauth2 Api SDK",
    "author": "i2a Solutions Inc.",
    "author_email": "msyta@i2asolutions.com",
    "download_url": "https://files.pythonhosted.org/packages/f2/14/4459af60bf380b1b22ad0022516280d448e111a1b6a714f52bfcd928af67/i2a_oauth2_api_client-3.0.4.tar.gz",
    "platform": null,
    "description": "#Installation\n```python\npip install i2a-oauth2-api-client\n```\n\n#Usage\n```python\nfrom i2a_oauth2_api_client.client import I2AOauth2Client\nfrom i2a_oauth2_api_client.enums import Environment\n\n\nclient = I2AOauth2Client(\n    client_id='your client id',\n    client_secret='your client secret',\n    environment=Environment.QA  # default\n)\n```\n\n#Enums\n```python\nfrom enum import Enum\n\n\nclass Environment(Enum):\n    QA = 1\n    PROD = 2\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Sdk for i2a oauth2 api",
    "version": "3.0.4",
    "project_urls": {
        "Download": "https://pypi.org/project/i2a_oauth2_api_client/"
    },
    "split_keywords": [
        "i2a oauth2 client",
        "i2a oauth2 api",
        "i2a oauth2",
        "python 3",
        "i2a oauth2 api sdk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de810efab1b05813078300471ffd3815c931b0e2cbd2eb402a7d0add4788cea0",
                "md5": "74dfa130c4f915edd053c3728ede7d1f",
                "sha256": "36cbd433cf3ed289442519896233285bc036165971e2ee83356340b0577be93c"
            },
            "downloads": -1,
            "filename": "i2a_oauth2_api_client-3.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74dfa130c4f915edd053c3728ede7d1f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6695,
            "upload_time": "2023-05-09T11:00:07",
            "upload_time_iso_8601": "2023-05-09T11:00:07.839644Z",
            "url": "https://files.pythonhosted.org/packages/de/81/0efab1b05813078300471ffd3815c931b0e2cbd2eb402a7d0add4788cea0/i2a_oauth2_api_client-3.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f2144459af60bf380b1b22ad0022516280d448e111a1b6a714f52bfcd928af67",
                "md5": "8a8dd1a217289ec3bd1e552066253b7b",
                "sha256": "bcc145ce30ebca925086a0207d9567e27ff2f260cfa484fe4bc2dec5c3564bf2"
            },
            "downloads": -1,
            "filename": "i2a_oauth2_api_client-3.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "8a8dd1a217289ec3bd1e552066253b7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5781,
            "upload_time": "2023-05-09T11:00:10",
            "upload_time_iso_8601": "2023-05-09T11:00:10.945455Z",
            "url": "https://files.pythonhosted.org/packages/f2/14/4459af60bf380b1b22ad0022516280d448e111a1b6a714f52bfcd928af67/i2a_oauth2_api_client-3.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-09 11:00:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "i2a-oauth2-api-client"
}
        
Elapsed time: 0.28389s