gp-wrapper


Namegp-wrapper JSON
Version 0.9.8 PyPI version JSON
download
home_pagehttps://github.com/danielnachumdev/gp_wrapper
SummaryA Google Photos API wrapper library
upload_time2024-02-17 11:35:15
maintainer
docs_urlNone
authordanielnachumdev
requires_python>=3.8.0
license
keywords functions methods classes api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # gp_wrapper v=0.9.8
A Google Photos API wrapper library

* Official API is already supported

## What does this package offer?
Support for all of the official API and more convenience function as well.
A-lot of well defined API inspired Classes and Enums to simplify the usage.
* `GooglePhotos` class - wrapper over authenticated HTTP session
* `Album` Class - handles all of the global and instance methods for an Album
* `MediaItem` Class - handles all of the global and instance methods for MediaItem
* Enums: `RequestType`, `HeaderType`, `MimeType`, `PositionType`, `EnrichmentType`, `MediaItemMaskTypes`, `AlbumMaskType`, `RelativeItemType`, `StatusCode`
* Classes: `SimpleMediaItem`, `NewMediaItem`, `AlbumPosition`, `Status`, `MediaItemResult`, `MediaMetadata`, `ContributorInfo`
## Quick Start
1. Create a [Google Cloud Console](https://console.cloud.google.com/) project
2. Enable google photos API [here](https://console.cloud.google.com/apis/library/photoslibrary.googleapis.com)
3. Fill information [here](https://console.cloud.google.com/apis/credentials/consent)
    1.  Fill application name and detail
    2. Apply scopes
        1. https://www.googleapis.com/auth/photoslibrary,
        2. https://www.googleapis.com/auth/photoslibrary.appendonly
        3. https://www.googleapis.com/auth/photoslibrary.sharing
        4. https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata
    3. Add a google account as a Test User which will be able to use you project as an 'end user'
3. Extract relevant data for [`client_secrets.json`](./READMES/client_secrets_example.json)
2. `pip install gp_wrapper`
3. See example [here](./READMES/example.md)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/danielnachumdev/gp_wrapper",
    "name": "gp-wrapper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8.0",
    "maintainer_email": "",
    "keywords": "functions,methods,classes,API",
    "author": "danielnachumdev",
    "author_email": "danielnachumdev <danielnachumdev@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/8f/5d/85a5e073b1d64ea1569efacbc992c8cb454d556de38957ccffaaa7765045/gp_wrapper-0.9.8.tar.gz",
    "platform": null,
    "description": "# gp_wrapper v=0.9.8\r\nA Google Photos API wrapper library\r\n\r\n* Official API is already supported\r\n\r\n## What does this package offer?\r\nSupport for all of the official API and more convenience function as well.\r\nA-lot of well defined API inspired Classes and Enums to simplify the usage.\r\n* `GooglePhotos` class - wrapper over authenticated HTTP session\r\n* `Album` Class - handles all of the global and instance methods for an Album\r\n* `MediaItem` Class - handles all of the global and instance methods for MediaItem\r\n* Enums: `RequestType`, `HeaderType`, `MimeType`, `PositionType`, `EnrichmentType`, `MediaItemMaskTypes`, `AlbumMaskType`, `RelativeItemType`, `StatusCode`\r\n* Classes: `SimpleMediaItem`, `NewMediaItem`, `AlbumPosition`, `Status`, `MediaItemResult`, `MediaMetadata`, `ContributorInfo`\r\n## Quick Start\r\n1. Create a [Google Cloud Console](https://console.cloud.google.com/) project\r\n2. Enable google photos API [here](https://console.cloud.google.com/apis/library/photoslibrary.googleapis.com)\r\n3. Fill information [here](https://console.cloud.google.com/apis/credentials/consent)\r\n    1.  Fill application name and detail\r\n    2. Apply scopes\r\n        1. https://www.googleapis.com/auth/photoslibrary,\r\n        2. https://www.googleapis.com/auth/photoslibrary.appendonly\r\n        3. https://www.googleapis.com/auth/photoslibrary.sharing\r\n        4. https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata\r\n    3. Add a google account as a Test User which will be able to use you project as an 'end user'\r\n3. Extract relevant data for [`client_secrets.json`](./READMES/client_secrets_example.json)\r\n2. `pip install gp_wrapper`\r\n3. See example [here](./READMES/example.md)\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Google Photos API wrapper library",
    "version": "0.9.8",
    "project_urls": {
        "Bug Tracker": "https://github.com/danielnachumdev/gp_wrapper/issues",
        "Homepage": "https://github.com/danielnachumdev/gp_wrapper"
    },
    "split_keywords": [
        "functions",
        "methods",
        "classes",
        "api"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f5d85a5e073b1d64ea1569efacbc992c8cb454d556de38957ccffaaa7765045",
                "md5": "86b5f72ff35229c1bc5a0effa228fdc0",
                "sha256": "632a434996c6be1f4439b8d316e18d263b5bc8514f0790d61bf37916ba8b1bfd"
            },
            "downloads": -1,
            "filename": "gp_wrapper-0.9.8.tar.gz",
            "has_sig": false,
            "md5_digest": "86b5f72ff35229c1bc5a0effa228fdc0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.0",
            "size": 29539,
            "upload_time": "2024-02-17T11:35:15",
            "upload_time_iso_8601": "2024-02-17T11:35:15.508627Z",
            "url": "https://files.pythonhosted.org/packages/8f/5d/85a5e073b1d64ea1569efacbc992c8cb454d556de38957ccffaaa7765045/gp_wrapper-0.9.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-17 11:35:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "danielnachumdev",
    "github_project": "gp_wrapper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "gp-wrapper"
}
        
Elapsed time: 0.28896s