A Go SDK for LlamaStore.
- API version: 0.1.7
- SDK version: 0.0.2
The llama store API! Get details on all your favorite llamas.
- You will need to register a user, once done you can request an API token.
- You can then use your API token to get details about the llamas.
To register a user, send a POST request to /user
with the following body:
{
"email": "<your email>",
"password": "<your password>"
}
This API has a maximum of 1000 current users. Once this is exceeded, older users will be deleted. If your user is deleted, you will need to register again.
To get an API token, send a POST request to /token
with the following body:
{
"email": "<your email>",
"password": "<your password>"
}
This will return a token that you can use to authenticate with the API:
{
"access_token": "<your new token>",
"token_type": "bearer"
}
To use the API token, add it to the Authorization
header of your request:
Authorization: Bearer <your token>