# 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
Release files for gmapi 1.17.30
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gmapi-1.17.30.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gmapi-1.17.30-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / gmapi-1.17.30.tar.gz
| Download URL | gmapi-1.17.30.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69018f6e0657531cef3455473c5476987a9656156bd321f29b2ca0f442c1ff32
|
|
BLAKE2b-256 checksum How to use checksums |
30324435e33ed6538df6dd033d9b28241684cb500de9fe670d25562507a2d216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
|
Release files / gmapi-1.17.30-py2.py3-none-any.whl
| Download URL | gmapi-1.17.30-py2.py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c782d9a009f80bbfbd01b39fc4a3da5020438b423b023e6233e3e29e4adbc609
|
|
BLAKE2b-256 checksum How to use checksums |
7adcc353b9b7bf4c6abe92a5192308965bd5e72130f8ee74c81244750a26adbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
|