Closed RemiFrontiere closed 6 years ago
Hi,I tried first to get data from the api with HTTP Request I work on TypeScript Ionic/Angular****
But I got this error.
So now I try to use pubg-api-redis but I have this error when I follow your README
import { PubgAPI, PubgAPIErrors, REGION, SEASON, MATCH } from 'pubg-api-redis'; let api = new PubgAPI({ apikey: 'a16c7c6c-bdbexxxxxxxx-8206f380rd', redisConfig: { host: '127.0.0.1', port: 6379, expiration: 300, // Optional - defaults to 300. }, });
import { PubgAPI, PubgAPIErrors, REGION, SEASON, MATCH } from 'pubg-api-redis';
let api = new PubgAPI({ apikey: 'a16c7c6c-bdbexxxxxxxx-8206f380rd', redisConfig: { host: '127.0.0.1', port: 6379, expiration: 300, // Optional - defaults to 300. }, });
Hi! This is not for frontend development, is for backend! You need to run with NodeJS
Oups ! Ok thanks ;)
Hi,I tried first to get data from the api with HTTP Request I work on TypeScript Ionic/Angular****
But I got this error.
So now I try to use pubg-api-redis but I have this error when I follow your README