An open API service indexing awesome lists of open source software.

https://github.com/marcusziade/gogrok

Go SDK for xAI's Grok API
https://github.com/marcusziade/gogrok

Last synced: 2 months ago
JSON representation

Go SDK for xAI's Grok API

Awesome Lists containing this project

README

        

# GoGrok (Work in progress)

A lightweight feature-complete Go client for the Grok API.

### Installation

```bash
go get github.com/marcusziade/gogrok
```

### Setup

1. Get your API key from [xAI Console](https://console.x.ai)

2. When prompted, enter your API key. This will create a `.env` file in your current directory.

## Requirements

- Go 1.22 or later
- xAI API key

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

MIT