The Python client library for the Tuneup Technology App.

Overview

Tuneup Technology App Python Client Library

The Python client library for the Tuneup Technology App.

Build Status Coverage Status PyPi Licence

This library allows you to interact with the customers, tickets, inventory, and locations objects without needing to do the hard work of binding your calls and data to endpoints. Simply call an action such as Customer.create and pass some data and let the library do the rest.

Install

# Install client library
pip3 install tuneuptechnology

# Install locally
make install

# Get Makefile help
make help

Example

import os

import tuneuptechnology

API_EMAIL = os.getenv('API_EMAIL')
API_KEY = os.getenv('API_KEY')

client = tuneuptechnology.Client(API_EMAIL, API_KEY)

customer = client.Customers.create(
    {
        'firstname': 'Jake',
        'lastname': 'Peralta',
        'email': '[email protected]',
        'phone': '8015551234',
        'user_id': 1,
        'notes': 'Believes he is a good detective.',
        'location_id': 2,
    }
)

print(customer)

Other examples can be found in the /examples directory. Alter according to your needs.

Usage

API_EMAIL=ema[email protected] API_KEY=123... venv/bin/python create_customer.py

Documentation

Up-to-date API documentation can be found here.

Development

# Lint the project
make lint

# Run tests
[email protected] API_KEY=123... make test

# Run test coverage
[email protected] API_KEY=123... make coverage

Releasing

As a separate PR from the feature/bug PR:

  1. Update the Version constant in client.py & setup.py
  2. Update CHANGELOG
  3. Create a GitHub tag with proper Python version semantics (eg: v1.0.0)
  4. Publish to PyPI
You might also like...
Python Client Library to interface with the Phoenix Realtime Server

supabase-realtime-client Python Client Library to interface with the Phoenix Realtime Server This is a fork of the supabase community realtime client

Python client library for Bigcommerce API

Bigcommerce API Python Client Wrapper over the requests library for communicating with the Bigcommerce v2 API. Install with pip install bigcommerce or

Backlog API v2 Client Library for Python
Backlog API v2 Client Library for Python

BacklogPy - Backlog API v2 Client Library for Python BacklogPy is Backlog API v2 Client Library for Python 2/3 Install You can install the client libr

Thread-safe Python RabbitMQ Client & Management library

AMQPStorm Thread-safe Python RabbitMQ Client & Management library. Introduction AMQPStorm is a library designed to be consistent, stable and thread-sa

Python API client library for phpIPAM installations

phpypam: Python API client library for phpIPAM installation As we started to develop phpipam-ansible-modules we used an existing python library for ph

Osmopy - osmo python client library

osmopy Version 0.0.2 Tools for Osmosis wallet management and offline transaction

PHION's client-side core python library

PHION-core PHION's client-side core python library. This library is not meant to be used directly by users. If you want to install phion please use th

An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music gmusicapi allows control of Google Music with Python. from gmusicapi import Mobileclient api = Mob

An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music gmusicapi allows control of Google Music with Python. from gmusicapi import Mobileclient api = Mob

Comments
  • v3.0.0 - complete overhaul for v2 API

    v3.0.0 - complete overhaul for v2 API

    • Updates entire library to be compliant with the new v2 API (endpoints, HTTP methods, etc)
    • Build requests via a Client now providing your email and api_key
    • Added optional base_url and timeout options to client
    • Module names are now plural
    • The Client now checks if an email and api_key is provided and raises an error if not
    • Removed utils module (pretty print)
    • Added unit tests (closes #1)
    opened by Justintime50 0
  • Updated name scheme to match other CL's

    Updated name scheme to match other CL's

    Updated the bad naming scheme to match the other CL's and expected names.

    This is a breaking change and as such, once merge, will need a MAJOR version bump.

    opened by Justintime50 0
Releases(v3.0.0)
  • v3.0.0(Jun 22, 2021)

    • Updates entire library to be compliant with the new v2 API (endpoints, HTTP methods, etc)
    • Build requests via a Client now providing your email and api_key
    • Added optional base_url and timeout options to client
    • Module names are now plural
    • The Client now checks if an email and api_key is provided and raises an error if not
    • Removed utils module (pretty print)
    • Added unit tests (closes #1)
    Source code(tar.gz)
    Source code(zip)
  • v2.2.0(Feb 21, 2021)

    • Adds timeout on HTTP requests
    • Adds try/except block arround HTTP requests
    • Changes internal function name from response to _make_http_request
    Source code(tar.gz)
    Source code(zip)
  • v2.1.0(Feb 6, 2021)

    • Changed all classmethods to staticmethods
    • Added user-agent to requests (closes #4)
    • Linting and formatting changes
    • Switched from Pylint to Flake8
    • Added GitHub Actions
    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Apr 17, 2020)

  • v1.0.0(Apr 5, 2020)

Owner
Tuneup Technology
The dev org for Tuneup Technology.
Tuneup Technology
Python Wrapper for aztro - The Astrology API | Get Daily Horoscope πŸ’«

PyAztro PyAztro is a client library for aztro written in Python. aztro provides horoscope info for sun signs such as Lucky Number, Lucky Color, Mood,

Sameer Kumar 30 Jan 08, 2023
Easy-apply-bot - A LinkedIn Easy Apply bot to help with my job search.

easy-apply-bot A LinkedIn Easy Apply bot to help with my job search. Getting Started First, clone the repository somewhere onto your computer, or down

Matthew Alunni 5 Dec 09, 2022
Async boto3 with Autogenerated Data Classes

awspydk Async boto3 with Autogenerated JIT Data Classes Motivation This library is forked from an internal project that works with a lot of backend AW

1 Dec 05, 2021
A Telegram bot that scrapes websites for available vaccination appointments to notify users. (German)

@dachau_impf_bot πŸ‡¬πŸ‡§ A Telegram bot to check the contents of https://termin.dachau-med.de for available slots and inform users of the available dates

1 Nov 21, 2021
A userbot made for telegram

πšƒπ™·π™΄ π™Όπ™°π™΅π™Έπ™°π™±π™Ύπšƒ This is a userbot made for telegram. I made this userbot with help of all other userbots available in telegram. All credits go

MafiaBotOP 8 Apr 08, 2022
πŸŽ„ JustaGrabber - A discord token grabber written in python3

πŸŽ„ JustaGrabber - A discord token grabber written in python3 πŸŽ‡ Made by kldiscord https://github.com/kldiscord 🌟 Please leave a star if you liked Jus

1 Dec 19, 2022
Algofi Python SDK is useful for developers who want to programatically interact with the Algofi lending protocol

algofi-py-sdk Algofi Python SDK Documentation https://algofi-py-sdk.readthedocs.

Algofi 41 Dec 15, 2022
An Unofficial TikTok API Wrapper In Python

This is an unofficial api wrapper for TikTok.com in python. With this api you are able to call most trending and fetch specific user information as well as much more.

David Teather 2.9k Jan 08, 2023
A discord token nuker With loads of options that will screw an account up real bad

A discord token nuker With loads of options that will screw an account up real bad, also has inbuilt massreport, GroupChat Spammer and Token/Password/Creditcard grabber and so much more!

XPTGR 0 Aug 07, 2022
This is a free python bot program that crosses you to farm with auto click in space crypto NFT game, having fun :) Creator: Marlon Zanardi

πŸš€ Space Crypto auto click bot ready-to-use πŸš€ This is a free python bot program that crosses you to farm with auto click in space crypto NFT game, ha

170 Dec 20, 2022
The Official Twilio SendGrid Led, Community Driven Python API Library

The default branch name for this repository has been changed to main as of 07/27/2020. This library allows you to quickly and easily use the SendGrid

Twilio SendGrid 1.4k Jan 07, 2023
A Discord bot made by QwertyIsCoding

QwertyBot QwertyBot A Discord bot made by QwertyIsCoding Explore the docs Β» View Demo . Report Bug . Request Feature About The Project This Discord bo

4 Oct 08, 2022
A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc.

Info-Bot A Bot To Get Info Of Telegram messages , Media , Channel id Group ID etc. Get Info Of Your And Messages , Channels , Groups ETC... How to mak

VΙͺᴠᴇᴋ 23 Nov 12, 2022
An advanced QR Code telegram bot with more features.

QR Code Bot A telegram qr code encode and decode bot Advanced Features 1. Database ( MongoDB ) Support 2. Broadcast Support 3. Status Command 4. Setti

Fayas Noushad 16 Nov 12, 2022
An Advance Discord Generator Written in python Verified Email and Phone Number For Free!

Intro An Advance Discord Generator Written in python It can generate nearly fully verified tokens USAGE put server invite code inside ( invitecode = "

36 May 02, 2022
Python API wrapper library for Convex Value API

convex-value-python Python API wrapper library for Convex Value API. Further Links: Convex Value homepage @ConvexValue on Twitter JB on Twitter Authen

Aaron DeVera 2 May 11, 2022
A Discord Bot that tracks and displays cryptocurrencies using the CoinMarketCap API

PyBo - A Crypto Inspired Discord Bot Pybo (paΙͺ boʊ) is a Discord bot that utilizes the discord.py API wrapper to run the bot. Pybo also integrates the

0 Nov 17, 2022
Telegram group manager moderen and simple.

Upin Robot A Advanced Powerful, Smart And Intelligent Group Management Bot With New And Powerful Features ... Written with Pyrogram and Telethon... If

Muhammad Nawawi 3 Dec 23, 2021
Library to manage your own custom RPC on your desktop

Info I don't recommend novices setting this up yourself. It requires Redis, a server to host the API on, and a bit of understanding of Windows & Pytho

Isaac K 1 Apr 16, 2022
A free, minimal, lightweight, cross-platform, easily expandable Twitch IRC/API bot.

parky's twitch bot A free, minimal, lightweight, cross-platform, easily expandable Twitch IRC/API bot. Features πŸ”Œ Connect to Twitch IRC chat! πŸ”Œ Conn

Andreas Schneider 10 Dec 30, 2022