python-pexels


Namepython-pexels JSON
Version 1.1 PyPI version JSON
download
home_page
SummaryA unofficial python wrapper library for Pexels API
upload_time2023-01-03 04:18:30
maintainer
docs_urlNone
author
requires_python>=3.9
licenseGNU General Public License v3 (GPLv3)
keywords api wrapper pexels api pexelsapi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-pexels
A unofficial python library to support all of Pexels API features.

* Supports all of the **endpoints**, which are available in API v1.0

* Return data are **python objects**.

* User **friendly** library.

* Easy to **use**.
  
📚 **Documentation** for this library can be found below. It contains **detailed instructions** on how to use API.

📚 **Documentation for the official API can be found** [here](https://www.pexels.com/api/documentation/?language=javascript).
## Installation

You can install the library via **pip**

    pip install python-pexels

Or using **source code**, which is not recommended.

    git clone https://github.com/jk6521/py-pexels-api.git

    cd py-pexels-api

    python setup.py install

more installation guide found [here](https://python-pexels.readthedocs.io/en/latest/installation.html)

## Usage & Example
You need **API token** to access Pexels API, you can get it [here](https://www.pexels.com/api/new/)

Once library is installed using pip, create a new python file named `main.py`

```py
    #main.py
    from Pexels import Client

    client = Client(token="abcd1223")

    #search photos
    photos = client.search_photo(query="Joker")

    #you can access return data like
    print(photos.total_results)

    >>> 230
```
more examples can be found [here](https://python-pexels.readthedocs.io/en/latest/examples.html)

## Useful Links

📚 [Docs](https://python-pexels.readthedocs.io/en/latest/index.html)
🌐 [PyPi](https://pypi.org/project/python-pexels/)
💬 [Telegram](https://t.me/blackbulls_support)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-pexels",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "API Wrapper,Pexels API,PexelsAPI",
    "author": "",
    "author_email": "Joker Hacker <jokerhacker.6521@protonmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/34/d1/a7843e0b5f3ab12d636108247e968f6efffb377f6175f66ef2186741e71f/python-pexels-1.1.tar.gz",
    "platform": null,
    "description": "# python-pexels\nA unofficial python library to support all of Pexels API features.\n\n* Supports all of the **endpoints**, which are available in API v1.0\n\n* Return data are **python objects**.\n\n* User **friendly** library.\n\n* Easy to **use**.\n  \n\ud83d\udcda **Documentation** for this library can be found below. It contains **detailed instructions** on how to use API.\n\n\ud83d\udcda **Documentation for the official API can be found** [here](https://www.pexels.com/api/documentation/?language=javascript).\n## Installation\n\nYou can install the library via **pip**\n\n    pip install python-pexels\n\nOr using **source code**, which is not recommended.\n\n    git clone https://github.com/jk6521/py-pexels-api.git\n\n    cd py-pexels-api\n\n    python setup.py install\n\nmore installation guide found [here](https://python-pexels.readthedocs.io/en/latest/installation.html)\n\n## Usage & Example\nYou need **API token** to access Pexels API, you can get it [here](https://www.pexels.com/api/new/)\n\nOnce library is installed using pip, create a new python file named `main.py`\n\n```py\n    #main.py\n    from Pexels import Client\n\n    client = Client(token=\"abcd1223\")\n\n    #search photos\n    photos = client.search_photo(query=\"Joker\")\n\n    #you can access return data like\n    print(photos.total_results)\n\n    >>> 230\n```\nmore examples can be found [here](https://python-pexels.readthedocs.io/en/latest/examples.html)\n\n## Useful Links\n\n\ud83d\udcda [Docs](https://python-pexels.readthedocs.io/en/latest/index.html)\n\ud83c\udf10 [PyPi](https://pypi.org/project/python-pexels/)\n\ud83d\udcac [Telegram](https://t.me/blackbulls_support)\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3 (GPLv3)",
    "summary": "A unofficial python wrapper library for Pexels API",
    "version": "1.1",
    "split_keywords": [
        "api wrapper",
        "pexels api",
        "pexelsapi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3aa5e0f12a6e46c0c2f0d3a723a6367ad864250ba3bb1bc5723cd84fb1c1207d",
                "md5": "3ceffbb657f1fb7db6eadefcc6e5800d",
                "sha256": "511d35ba84e3941d2b86492040802142d46da07cc6c962b7fe9aff0c52cb9093"
            },
            "downloads": -1,
            "filename": "python_pexels-1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3ceffbb657f1fb7db6eadefcc6e5800d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 21248,
            "upload_time": "2023-01-03T04:18:27",
            "upload_time_iso_8601": "2023-01-03T04:18:27.141180Z",
            "url": "https://files.pythonhosted.org/packages/3a/a5/e0f12a6e46c0c2f0d3a723a6367ad864250ba3bb1bc5723cd84fb1c1207d/python_pexels-1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34d1a7843e0b5f3ab12d636108247e968f6efffb377f6175f66ef2186741e71f",
                "md5": "37e2ba8d3b4fc139afbccc981656e314",
                "sha256": "c27a7279d66ea550e65fffa3323d666921eacd4f62eb6dbac00dba706919b0a9"
            },
            "downloads": -1,
            "filename": "python-pexels-1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "37e2ba8d3b4fc139afbccc981656e314",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 21377,
            "upload_time": "2023-01-03T04:18:30",
            "upload_time_iso_8601": "2023-01-03T04:18:30.470605Z",
            "url": "https://files.pythonhosted.org/packages/34/d1/a7843e0b5f3ab12d636108247e968f6efffb377f6175f66ef2186741e71f/python-pexels-1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-03 04:18:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "python-pexels"
}
        
Elapsed time: 0.03935s