# 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
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.10.21.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gmapi-1.10.21.tar.gz.
File metadata
- Download URL: gmapi-1.10.21.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
641d74760de2ce8c8e288c828dcbaf715815da1b9b47f5a812b8b35f889e0545
|
|
| MD5 |
e3f990ddee208a17c8cd5a04c30d89a7
|
|
| BLAKE2b-256 |
ad2884ca8804c6a1e3528a37da8a6ee0fec9fb98ab7631e481e3ae4e6b78dda2
|
File details
Details for the file gmapi-1.10.21-py2.py3-none-any.whl.
File metadata
- Download URL: gmapi-1.10.21-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99601c5c1103c248bfb960f04f61cc9ac59101dcedaeccb3931fb2f5ea16fa25
|
|
| MD5 |
4aab40070500f8767c4305c96b9795ce
|
|
| BLAKE2b-256 |
e2a319ef49956671c2aea5394e5ae2a115e3f6b23bedf77f13f84d399f1cd6e0
|