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.

Source Distribution

restapi-client-0.0.2.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file restapi-client-0.0.2.tar.gz.

File metadata

File hashes

Hashes for restapi-client-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1746bb6d7e5df2fe6b51cfa440248f246d0dde91e3b7213109f626d8dcabd2b6
MD5 a77fd475243c2e8a8dc288c421e579b0
BLAKE2b-256 b64b61951f234f25f39adebb76d0e91c6fd08d43ed9d614c0bea9d09e9f5be4b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page