Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
· Added a new announcement

· Update API 1.1 BETA

· Edits on API URL
  • Loading branch information
BN-M authored Jul 7, 2023
1 parent c887dff commit 540d5e6
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
<br />

<h4>Announcements</h4>

<ul>06/07/23
<li>ES: La primera actualización de la API se estima para la fecha 14/07/23, Añadiendo la posibilidad de llamar funciones publicas con 1 parametro.</li>
<li>EN: The first update of the API is estimated at 07/14/23, adding the possibility of calling public functions with 1 parameter.</li>
</ul>

<ul>26/05/23
<li>ES: Se abre al público la v1.0, Estaremos al tanto de errores o inconvenientes respecto a la API y FS recuerden que estamos en BETA.</li>
Expand All @@ -40,7 +45,7 @@

<p>Currently our API develops communication functions (Environment -> Server).</p>

<h3>Current Version (1.0 BETA)</h3>
<h3>Current Version (1.1 BETA)</h3>

<h4>Available functions</h4>

Expand Down Expand Up @@ -68,31 +73,31 @@
</tr>

<tr>
<td>neshy-rp.com/api/Gateway/Requests/</td>
<td>neshy-rp.com/api/Gateway/</td>
<td>GET</td>
<td>[string] => token</td>
<td>GET</td>
<td>Client Only</td>
</tr>

<tr>
<td>neshy-rp.com/api/Gateway/Requests/</td>
<td>neshy-rp.com/api/Gateway/</td>
<td>POST</td>
<td>[string] => token - [string] => funcname</td>
<td>POST - HEADERS</td>
<td>ALL</td>
</tr>

<tr>
<td>neshy-rp.com/api/Gateway/Requests/</td>
<td>neshy-rp.com/api/Gateway/</td>
<td>PUT</td>
<td>[string] => token - [int] => id - [string] => order</td>
<td>POST - HEADERS</td>
<td>ALL</td>
</tr>

<tr>
<td>neshy-rp.com/api/Gateway/Requests/</td>
<td>neshy-rp.com/api/Gateway/</td>
<td>DELETE</td>
<td>[string] => token - [int] => id</td>
<td>POST - HEADERS</td>
Expand Down Expand Up @@ -142,7 +147,7 @@

```c

new API_KEY[17];
new const API_KEY[20];

public OnGamemodeInit()
{
Expand Down Expand Up @@ -174,7 +179,7 @@ public ApiTimer()
```
POST /HTTP/1.1
Host: API/EXAMPLE
Host: api/Gateway/index.php
Content-Type: application/x-www-form-urlencoded
Content-Length: 29

Expand All @@ -187,7 +192,7 @@ token=mytoken&funcname=myfunc
```
POST /HTTP/1.1
Host: API/EXAMPLE
Host: api/Gateway/index.php
Content-Type: application/x-www-form-urlencoded
Content-Length: 40

Expand Down Expand Up @@ -229,7 +234,7 @@ token=mytoken&funcname=rcon password 123
<p>© BryanM - BryanM#0871 (Discord)</p>
<p><strong>Any review will be welcome (Respect above all), I'm also new in github so any hazing forgive me hehe.</strong> Thanks to neshy (Web-core host)</p>
<p><strong>Any review will be welcome (Respect above all), I'm also new in github so any hazing forgive me hehe.</strong> Thanks to neshy (Web Host)</p>
<p>All sections of this document have been created with a template (Credits to their creators)</p>
Expand Down

0 comments on commit 540d5e6

Please sign in to comment.