Skip to content

Commit

Permalink
Merge pull request #2 from Fogh/patch-1
Browse files Browse the repository at this point in the history
Rename dataspace to repo in readme
  • Loading branch information
Joel Watson authored May 31, 2019
2 parents a362081 + 865d737 commit 660d1a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Query examples
from humio_api.humio_api import HumioApi

# Init the API
api = HumioApi(baseUrl='https://cloud.humio.com', dataspace='<YOUR_DATASPACE>',
api = HumioApi(baseUrl='https://cloud.humio.com', repo='<YOUR_REPO>',
token='<YOUR_TOKEN>')

# creating query
Expand All @@ -42,7 +42,7 @@ User management examples (only for local on prem install)
from humio_api.humio_api import HumioApi

# Init the API
h = HumioApi(baseUrl='https://cloud.humio.com', dataspace='<YOUR_DATASPACE>',
h = HumioApi(baseUrl='https://cloud.humio.com', repo='<YOUR_REPO>',
token='<YOUR_TOKEN>')

# Get all users
Expand All @@ -67,7 +67,7 @@ Data ingest examples
from humio_api.humio_api import HumioApi

# Init the API
h = HumioApi(baseUrl='https://cloud.humio.com', dataspace='<YOUR_DATASPACE>',
h = HumioApi(baseUrl='https://cloud.humio.com', repo='<YOUR_REPO>',
token='<YOUR_TOKEN>')

# some test data
Expand Down

0 comments on commit 660d1a9

Please sign in to comment.