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

https://github.com/fastuptime/fastgaming_api_express

Fast Gameing API
https://github.com/fastuptime/fastgaming_api_express

game game-api

Last synced: 12 months ago
JSON representation

Fast Gameing API

Awesome Lists containing this project

README

          

# FastGaming_API_Express

## Usage/Examples

![image](https://user-images.githubusercontent.com/63351166/211326748-43b9471d-173f-4cd0-a6ae-be4238ad82a6.png)

```javascript
var axios = require("axios");
var qs = require("qs");
var data = qs.stringify({
type: "minecraft",
host: "play.craftrise.com.tr",
});
var config = {
method: "post",
url: "http://localhost/api",
headers: {
Accept: "application/json",
"Content-Type": "application/x-www-form-urlencoded",
},
data: data,
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
```

## API Reference

```http
POST /api
```

- Form Data

| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `type` | `string` | Server ID in game_list.txt |

| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `host` | `string`,| Server ip address |

## Tech Stack

**Server:** Node, Express, Gamedig

---
- ✨ [Destek İçin](https://fastuptime.com)

- 💕 [Discord](https://fastuptime.com/discord)

- 🎖️ [FasterHost Technology](https://fasterhost.tech/)

- ✨ İletişim için [Tıkla!](mailto:fastuptime@gmail.com)

# License
- Its protected by Creative Commons ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/))