Skip to content

Commit 4f06ecc

Browse files
authored
V2.1.0
Update 2.1.0
1 parent 1aa2681 commit 4f06ecc

5 files changed

Lines changed: 737 additions & 295 deletions

File tree

README.md

Lines changed: 52 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,52 @@
1-
<div align="center">
2-
<a href="https://npmjs.com/package/fortnite-api-com"><img src="https://img.shields.io/npm/v/fortnite-api-com.svg?style=flat-square"/></a>
3-
<a href="https://discord.gg/AqzEcMm" target="_blank"><img src="https://img.shields.io/badge/dynamic/json.svg?style=flat-square&label=Join%20Fortnite-API&colorB=7289DA&url=https://discordapp.com/api/servers/445203868624748555/embed.json&query=$.members.length&suffix=%20Members%20online&logo=discord" alt="Join Fortnite-API"></a>
4-
<a href="https://github.com/Fortnite-API/nodejs-wrapper/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/github/license/Fortnite-API/nodejs-wrapper.svg?style=flat-square" alt="License"/></a>
5-
6-
# NodeJS Wrapper for [Fortnite-API.com](https://fortnite-api.com)
7-
<img src="https://i.imgur.com/38Vs4w5.png" style="max-width:100%;">
8-
9-
## Installation
10-
`
11-
npm i fortnite-api-com --save
12-
`
13-
14-
## Example
15-
16-
</div>
17-
18-
```javascript
19-
const FortniteAPI = require("fortnite-api-com");
20-
const config = {
21-
apikey: "API-Key",
22-
language: "en"
23-
};
24-
25-
var Fortnite = new FortniteAPI(config);
26-
27-
Fortnite.Shop()
28-
.then(res => {
29-
console.log(res);
30-
}).catch(err => {
31-
console.log(err);
32-
});
33-
```
34-
<div align="center">
35-
36-
## Wiki
37-
38-
<a href="https://github.com/Fortnite-API/nodejs-wrapper/wiki">Read the docs</a>
39-
40-
## Contribute
41-
42-
if you can provide any help, may it only be spell checking please contribute!
43-
44-
We are open for any contribution.
45-
46-
## License
47-
48-
Fortnite-API (MIT) [License](https://github.com/Fortnite-API/nodejs-wrapper/blob/master/LICENSE "MIT License")
49-
50-
API developed by [Fortnite-API.com](https://fortnite-api.com/about).
51-
</div>
1+
<div align="center">
2+
<a href="https://npmjs.com/package/fortnite-api-com"><img src="https://img.shields.io/npm/v/fortnite-api-com.svg?style=flat-square"/></a>
3+
<a href="https://discord.gg/AqzEcMm" target="_blank"><img src="https://img.shields.io/badge/dynamic/json.svg?style=flat-square&label=Join%20Fortnite-API&colorB=7289DA&url=https://discordapp.com/api/servers/445203868624748555/embed.json&query=$.members.length&suffix=%20Members%20online&logo=discord" alt="Join Fortnite-API"></a>
4+
<a href="https://github.com/Fortnite-API/nodejs-wrapper/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/github/license/Fortnite-API/nodejs-wrapper.svg?style=flat-square" alt="License"/></a>
5+
6+
# NodeJS Wrapper for [Fortnite-API.com](https://fortnite-api.com)
7+
<img src="https://i.imgur.com/38Vs4w5.png" style="max-width:100%;">
8+
9+
## Installation
10+
`
11+
npm i fortnite-api-com --save
12+
`
13+
14+
## Example
15+
16+
</div>
17+
18+
```javascript
19+
const FortniteAPI = require("fortnite-api-com");
20+
const config = {
21+
apikey: "API-Key",
22+
language: "en",
23+
debug: true
24+
};
25+
26+
var Fortnite = new FortniteAPI(config);
27+
28+
Fortnite.AES()
29+
.then(res => {
30+
console.log(res);
31+
}).catch(err => {
32+
console.log(err);
33+
});
34+
```
35+
<div align="center">
36+
37+
## Wiki
38+
39+
<a href="https://github.com/Fortnite-API/nodejs-wrapper/wiki">Read the docs</a>
40+
41+
## Contribute
42+
43+
if you can provide any help, may it only be spell checking please contribute!
44+
45+
We are open for any contribution.
46+
47+
## License
48+
49+
Fortnite-API (MIT) [License](https://github.com/Fortnite-API/nodejs-wrapper/blob/master/LICENSE "MIT License")
50+
51+
API developed by [Fortnite-API.com](https://fortnite-api.com/about).
52+
</div>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "fortnite-api-com",
3-
"version": "1.0.5",
3+
"version": "2.1.0",
44
"description": "A NodeJS wrapper for Fortnite-API.com",
55
"main": "index.js",
66
"dependencies": {
7-
"axios": "^0.19.0"
7+
"node-fetch": "^2.6.0"
88
},
99
"devDependencies": {},
1010
"scripts": {
@@ -14,7 +14,7 @@
1414
"type": "git",
1515
"url": "git+https://github.com/Fortnite-API/nodejs-wrapper.git"
1616
},
17-
"author": "IXXE",
17+
"author": "MissedSpace",
1818
"license": "MIT",
1919
"bugs": {
2020
"url": "https://github.com/Fortnite-API/nodejs-wrapper/issues"

0 commit comments

Comments
 (0)