guildwars2-ts 1.0.2 → 1.0.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.
- package/LICENSE +1 -1
- package/README.md +24 -9
- package/dist/index.d.mts +11546 -5715
- package/dist/index.d.ts +11546 -5715
- package/dist/index.js +4527 -582
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4527 -582
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -7
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Typescript API Wrapper for
|
|
1
|
+
# Typescript API Wrapper for GuildWars 2
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
-
|
|
5
|
-
- Data caching for repeated requests
|
|
6
|
-
- Better logging
|
|
7
|
-
- Support for different schemas, when available
|
|
3
|
+
[![NPM version][npm-image]][npm-link]
|
|
4
|
+
[![License][license]][license-file]
|
|
8
5
|
|
|
9
|
-
|
|
6
|
+
This project is a third-party package, and is strictly not affiliated with GuildWars2, ArenaNet, or NCSoft.
|
|
10
7
|
|
|
11
|
-
|
|
8
|
+
When used, no data is saved by, or sent to the developers, including but not limited to the logs, api tokens, or any objects returned by the endpoints.
|
|
9
|
+
|
|
10
|
+
## Available Endpoints (GuildWars 2)
|
|
12
11
|
|
|
12
|
+
Full support of all endpoints listed in the [API:2 Wiki](https://wiki.guildwars2.com/wiki/API:2) page
|
|
13
13
|
|
|
14
14
|
## Request Example
|
|
15
15
|
|
|
@@ -36,4 +36,19 @@ const api: GW2Api = new GW2Api({
|
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
})();
|
|
39
|
-
```
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Contibutions
|
|
42
|
+
|
|
43
|
+
If you find any kinds of errors in the program code, or wish to add/update any of the functionality provided by this project, please feel free to open a pull request. Validation error logs are extremely helpful, so please include them in the request
|
|
44
|
+
|
|
45
|
+
## Plans
|
|
46
|
+
- Data caching for repeated requests
|
|
47
|
+
- Better logging
|
|
48
|
+
- Support for different schemas, when available
|
|
49
|
+
- Endpoint structure rework (backend only)
|
|
50
|
+
|
|
51
|
+
[npm-image]: https://img.shields.io/npm/v/guildwars2-ts
|
|
52
|
+
[npm-link]: https://www.npmjs.com/package/guildwars2-ts
|
|
53
|
+
[license]: https://img.shields.io/gitlab/license/dinckelman%2Fguildwars2-ts
|
|
54
|
+
[license-file]: ./LICENSE
|