Python bindings to Graymeta.com Platform API v.21+
Project description
# gm
Python GrayMeta API bindings.
This project is used to access your GrayMeta installation API using python.
## Installation
This is avaialble on pypy
pip install gmapi
## Usage
`gmapi` can be used directly via the terminal with the `gm` command, or via the API.
## Usage (Terminal)
You must first make the `GRAYMETA_SERVER_URL` and your `GRAYMETA_API_KEY` available as environment variables, then you can call `gm`
```
export GRAYMETA_SERVER_URL=https://your-installation-of-graymeta
export GRAYMETA_API_KEY=your-api-keye
```
> See your Admin for details of these values
Next, you can just call `gm`:
```
gm
```
## Usage (API)
Having installed gmapi via `pip`, you can then use it directly in your python, for example
(demo.py)
```
from gmapi import gmapi.GraymetaClient
SERVER_URL="https://your-server"
API_KEY="your-gm-api-key"
client = GraymetaClient(SERVER_URL, API_KEY)
client.search()
```
## API Documentation
TODO
Python GrayMeta API bindings.
This project is used to access your GrayMeta installation API using python.
## Installation
This is avaialble on pypy
pip install gmapi
## Usage
`gmapi` can be used directly via the terminal with the `gm` command, or via the API.
## Usage (Terminal)
You must first make the `GRAYMETA_SERVER_URL` and your `GRAYMETA_API_KEY` available as environment variables, then you can call `gm`
```
export GRAYMETA_SERVER_URL=https://your-installation-of-graymeta
export GRAYMETA_API_KEY=your-api-keye
```
> See your Admin for details of these values
Next, you can just call `gm`:
```
gm
```
## Usage (API)
Having installed gmapi via `pip`, you can then use it directly in your python, for example
(demo.py)
```
from gmapi import gmapi.GraymetaClient
SERVER_URL="https://your-server"
API_KEY="your-gm-api-key"
client = GraymetaClient(SERVER_URL, API_KEY)
client.search()
```
## API Documentation
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gmapi-1.12.29.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for gmapi-1.12.29-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a7ba44a80acc2db0881e2ff12bc01da4325bcabd502c68524f526d46e1a3ad |
|
MD5 | 70557fe4a1c56f1498d7b8d6569f8729 |
|
BLAKE2b-256 | e73bb974bbbe0f780e1fc2799b034516eb05ee00df2c86aecc807f9d28c940ad |