Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyestarzalt/productsup_py
A Python wrapper for the ProductsUp API
https://github.com/lyestarzalt/productsup_py
api-rest api-wrapper
Last synced: about 1 month ago
JSON representation
A Python wrapper for the ProductsUp API
- Host: GitHub
- URL: https://github.com/lyestarzalt/productsup_py
- Owner: lyestarzalt
- License: bsd-3-clause
- Created: 2023-01-26T08:36:42.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T09:36:10.000Z (almost 2 years ago)
- Last Synced: 2024-04-27T15:04:56.732Z (8 months ago)
- Topics: api-rest, api-wrapper
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProductsUpPy
This is a simple Python wrapper around the ProductsUp platform API. It allows you to easily interact with the ProductsUp platform using Python code.
## Features
Easy to use interface
Support most ProductsUp platform API endpoints
Exception handling for common error cases## Installation
You can install the package using pip:
```console
pip install productsup-py
```## Usage
```python
import productsup_py as pu# First, create a ProductUpAuth object
pu_auth = pu.ProductUpAuth(1234, 'mknjbhvgcd')
# Next, create a Projects object
example_project = pu.Projects(pu_auth)project = example_project.get_project(28532)
print("Project ID:", project.project_id)
print("Project Name:", project.name)
print("Project Creation Date:", project.created_at)
`````` console
Output:
Project ID: 28532
Project Name: Test
Project Creation Date: 2015-08-20 14:19:00
```## Supporting
In case of any issues or for feature request, please raise an issue on the GitHub repository.
## License
Copyright (c) 2023, Lyes Tarzalt
All rights reserved.This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.