futmkt / fut-api

12 stars 6 forks source link

Help by installation #1

Open mariusgrams opened 5 years ago

mariusgrams commented 5 years ago

I downloaded the repository and created this php file:

`<?php use FUTApi\Core; use FUTApi\FutError; try { $fut = new Core('email', 'password', 'platform', 'backup_code'); } catch(FutError $e) { $error = $e->GetOptions(); die("We have an error logging in: ".$error['reason']); } $login = $fut->login();

?>`

I get following error: Fatal error: Uncaught Error: Class 'FUTApi\Core' not found in C:\xampp\htdocs\Fut20Api\login.php:5 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Fut20Api\login.php on line 5

Can anyone help me please by getting access to webapp?

mynameisvasco commented 5 years ago

You need to use composer

Helda90 commented 5 years ago

Value is path to DS.js. To directory, not file.

DS_PATH = /path/to/directory # where is located file.

Helda90 commented 5 years ago

Use dev-master. Error is fixed. But not released.