SkillAgentSearch skills...

FifaSharp

A library to use and communicate with the EA FC web app API.

Install / Use

/learn @TheNaeem/FifaSharp
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

FifaSharp

Usage

string? GetOneTimeCode()
{
    Console.Write("Enter the 2fa code sent to your email: ");
    return Console.ReadLine();
}

void CacheCookie(string cookie)
{
    File.WriteAllText("cookie_cache.txt", cookies);
}

var client = new FutClient();

bool success = await client.TryLoginAsync("johndoe@gmail.com", "password", GetOneTimeCode, true, CacheCookie);

Caching Logins

Logins are cached using the cookies. After successfully logging in once with email and password you can get the login cookies with the GetLoginCookies method or the optional onCacheCookies parameter in TryLoginAsync, which you can see an example of above.

Once you have the cookies cached somewhere, to log in again without using your password or going through the 2FA process, just pass the cookies you cached into TryLoginAsync.

// just a simple example of how you can use the cached login

if (File.Exists("cookie_cache.txt")
{
  string cachedCookie = File.ReadAllText("cookie_cache.txt");
  await client.TryLoginAsync(cachedCookies);
}
View on GitHub
GitHub Stars22
CategoryDevelopment
Updated1mo ago
Forks3

Languages

C#

Security Score

95/100

Audited on Mar 6, 2026

No findings