Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- nexaapi
|
| 5 |
+
- tutorial
|
| 6 |
+
- ai
|
| 7 |
+
- python
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# SlopCodeBench + NexaAPI: AI Code Generation Benchmark Tutorial
|
| 11 |
+
|
| 12 |
+
Tutorial and code examples for using NexaAPI — the cheapest AI API with 56+ models.
|
| 13 |
+
|
| 14 |
+
## Links
|
| 15 |
+
|
| 16 |
+
- 🌐 **NexaAPI**: https://nexa-api.com
|
| 17 |
+
- 🔌 **RapidAPI**: https://rapidapi.com/user/nexaquency
|
| 18 |
+
- 📦 **Python SDK**: `pip install nexaapi` | https://pypi.org/project/nexaapi/
|
| 19 |
+
- 📦 **Node.js SDK**: `npm install nexaapi` | https://www.npmjs.com/package/nexaapi
|
| 20 |
+
- 💻 **GitHub Tutorial**: https://github.com/diwushennian4955/slopcodebench-nexaapi-tutorial
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
## Quick Start
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
pip install nexaapi
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
from nexaapi import NexaAPI
|
| 31 |
+
|
| 32 |
+
client = NexaAPI(api_key='YOUR_API_KEY')
|
| 33 |
+
# Get your API key at https://nexa-api.com
|
| 34 |
+
# RapidAPI: https://rapidapi.com/user/nexaquency
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
See the [GitHub repository](https://github.com/diwushennian4955/slopcodebench-nexaapi-tutorial) for full code examples and tutorials.
|