You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54-23Lines changed: 54 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,32 +24,52 @@
24
24
25
25
---
26
26
27
-
## 📦 Installation
27
+
## 📦 Getting Started
28
28
29
-
### As a Userscript (Recommended)
29
+
### Using diepAPI in Your Scripts (Recommended)
30
30
31
-
**Requirements:**[Tampermonkey](https://www.tampermonkey.net/) or [Violentmonkey](https://violentmonkey.github.io/)
32
-
33
-
1. Install Tampermonkey or Violentmonkey in your browser
34
-
2. Download the latest `diepAPI.user.js` from [Releases](https://github.com/Cazka/diepAPI/releases)
35
-
3. Your userscript manager will prompt you to install it
36
-
4. Navigate to [diep.io](https://diep.io) and start using the API!
31
+
You don't need to install diepAPI separately! Just add a `@require` directive to your userscript, and your userscript manager will automatically load diepAPI for you.
37
32
38
-
### Using diepAPI in Your Scripts
39
-
40
-
Once installed, create a new userscript with diepAPI as a dependency:
33
+
Create a new userscript in Tampermonkey/Violentmonkey with:
0 commit comments