Closed Xzeni closed 6 years ago
const FortniteAPI = require('fortnite'); const Fortnite = new FortniteAPI('key'); Fortnite.get('user', 'pc').then(console.log);
Fortnite.get is not a function
try Fortnite.getInfo('user', 'pc')
Fortnite.getInfo('user', 'pc')
@Xzeni Hi, firstly you need to do FortniteAPI.Client('key'); and also the method is now user, rather than get or getInfo.
FortniteAPI.Client('key');
user
get
getInfo
Fortnite.get is not a function