Skip to main content

Lib for call RestApi services

Project description

RESTAPI-CLIENT

This lib is used for call RestApi services.

Installing

In your python environment use this command:

$ pip install restapi-client

Usage

Format of calls:

<myserver.com>.<endpoint>.[save,get(id),get_all,delete(id),update(id,data)]

Example:

from restapi import Client api = Client() ret = api.<endpointname>.get() api.<endpointname>.save(dict_data) ret = api.<endpointname>.get(“<the_id>”) api.<endpointname>.update(“<the_id>”, dict_data) api.<endpointname>.delete(“<the_id>”)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for restapi-client, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size restapi-client-0.0.2.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page