Skip to main content

RDStation-client

Current version at PyPI Downloads current version Supported Python Versions Build Status codecov License: LGPLv3

Client for access API rdstation.

Installation

The easiest way to getting the hands dirty is install rdstation-client, using pip.

PyPI

Usage

Install

pip install rdstation-client

Create file auth rdstation_client.json

Vide: https://developers.rdstation.com/en/overview

{
  "client_id": "049bf777-bbbb-0000-9e09-7ebe2972b8b0",
  "client_secret": "952e14d9dbad9c28d2247da9a19645d8",
  "redirect_url": "https://appname.org/auth/callback"
}

Python code example:

from rdstation_client import RDStationClient
rdsc = RDStationClient('/home/var/rdstation_client.json')
rdsc.account_info_get()
# Visite link
# Enter CODE in url param
print(rdsc.contacts_patch(
    {
        "name": "RD Station Developer",
        "email": "contact@example.com",
        "job_title": "Developer",
        "bio": "This documentation explains the RD Station API.",
        "website": "https://developers.rdstation.com/",
        "linkedin": "rd_station",
        "personal_phone": "+55 48 3037-3600",
        "city": "Florianópolis",
        "state": "SC",
        "country": "Brasil",
        "tags": ["developer", "rdstation", "api"]
    }
))

Contribution start guide

The preferred way to start contributing for the project is creating a virtualenv (you can do by using virtualenv, virtualenvwrapper, pyenv or whatever tool you'd like).

Create the virtualenv:

mkvirtualenv rdstation-client

Install development dependencies:

pip install -r requirements-development.txt

Use py.test

py.test --verbose --assert=plain --color=yes --cov-report=term-missing --cov=rdstation_client tests/

Use pep8

pycodestyle rdstation_client tests

Metadata

Release files for rdstation-client 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rdstation-client 0.0.10
File Size Uploaded
rdstation-client-0.0.10.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rdstation-client 0.0.10
File Interpreter ABI Platform
rdstation_client-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 40.5 kB

Release files / rdstation-client-0.0.10.tar.gz

Download URL rdstation-client-0.0.10.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
76fd267be5406071b5ee74f4a2f745f5fb3c63e834e7776d102745df2e45b139
BLAKE2b-256 checksum
How to use checksums
f2ad55d77c5fb5e9eec3905d72668a26a58f31699fae4401c9ef84324f892b99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.6

Release files / rdstation_client-0.0.10-py3-none-any.whl

Download URL rdstation_client-0.0.10-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3399fa443db003c31a6b4b15efb07fdcb741b2370659713fdbf4e82c00924ab
BLAKE2b-256 checksum
How to use checksums
1edb22c0ade90bbd306fb12eafa0d3353f414903af4c6f6e2f1d585f477e2c94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page