erlc-api 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,7 +17,7 @@ Setting up is super simple:
17
17
 
18
18
  const erlc = require("erlc");
19
19
  const client = new erlc.Client({
20
- globalToken: "", // Here you enter your global token provided for the API
20
+ globalToken: "", // You get the global key directly from the ERLC developers. To increase your API request limits
21
21
  });
22
22
  client.config(); // Registers your client
23
23
  ```
@@ -30,7 +30,7 @@ Now you can start using API Methods - here are a few examples:
30
30
  const erlc = require("erlc");
31
31
 
32
32
  const getServerFunc = async () => {
33
- const serverId = ""; // The server ApiKey you wish to target
33
+ const serverId = ""; // The server ApiKey you wish to target. You can get this api key in your (Server Settings)
34
34
  const server = await erlc.getServer(serverId).catch(console.log); // Gets the server, logs any errors
35
35
 
36
36
  console.log(server); // Logs the server object
@@ -44,4 +44,7 @@ getServerFunc();
44
44
  ### Credits
45
45
 
46
46
  Library Re-Development - [Egologics](https://twitter.com/0Adexus0)
47
+
47
48
  API Development - [Police Roleplay Community](https://twitter.com/PRC_Roblox)
49
+
50
+ Apply for more API request limits - [Discord](https://discord.gg/prc)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erlc-api",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "An ER:LC API wrapper for JS/TS",
5
5
  "main": "index.js",
6
6
  "types": "src/types/index.d.ts",